mirror of
https://github.com/Cirru/writer.nim
synced 2026-01-14 09:51:36 +00:00
No description
|
|
||
|---|---|---|
| .github/workflows | ||
| src | ||
| tests | ||
| .gitignore | ||
| cirru_writer.nimble | ||
| README.md | ||
Cirru Writer in Nim
Ported from ClojureScript version of writer.
Usage
requires "https://github.com/Cirru/writer.nim"
import cirru_writer
# more information in types.nim
let xs: CirruWriterNode = toWriterList(%* [
["a", "b", ["c", ["c1", "c5", ["c3", "c4"]]], "d"]
])
writeCirruCode(xs)
writeCirruCode(xs, (useInline: true)) # for inline demo
License
MIT