No description
Find a file
2021-03-13 23:51:12 -08:00
.github/workflows preparing for 0.1.0 2020-12-08 15:16:21 +08:00
src fix comma indent cases; bump 0.1.4 2021-03-13 10:01:40 +08:00
tests fix comma indent cases; bump 0.1.4 2021-03-13 10:01:40 +08:00
.gitignore staged work of resusing all the code 2020-12-08 12:40:49 +08:00
cirru_writer.nimble fix comma indent cases; bump 0.1.4 2021-03-13 10:01:40 +08:00
README.md preparing for 0.1.0 2020-12-08 15:16:21 +08:00

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