EDN data in Cirru format.
Demo http://repo.cirru.org/cirru-edn/
[cirru/edn "0.0.6"]
(cirru-edn.core/parse "a b")
(cirru-edn.core/write {:a 1})
To represent single liternals, Cirru EDN requires an extra do x
syntax, for example:
do :something
To use parser from nim:
yarn add @cirru/parser.nim
(cirru-edn.nim/parse "a b")
Cirru EDN is based on Cirru Text Syntax, on top of which there is specific syntax for EDN:
Vectors, lists and sets:
[] 1 2 3
list 1 2 3
set 1 2 3
Hashmap:
{}
:a 1
:b 3
Literals, since Cirru use lines for expressions, need do
for extracting values:
do 1
do :k
do nil
Strings need to be prefixed with a |
:
do |short
do "|long text"
Workflow https://github.com/mvc-works/calcit-workflow
MIT
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close