This is the context free grammar that recognizes ABNF notation.
This is the context free grammar that recognizes ABNF notation.
This is normally set to false, in which case the non-terminals are treated as case-sensitive, which is NOT the norm for ABNF grammars. If you really want case-insensitivity, bind this to true, in which case all non-terminals will be converted to upper-case internally (which you'll have to keep in mind when transforming).
This is normally set to false, in which case the non-terminals are treated as case-sensitive, which is NOT the norm for ABNF grammars. If you really want case-insensitivity, bind this to true, in which case all non-terminals will be converted to upper-case internally (which you'll have to keep in mind when transforming).
(abnf spec & {:as opts})
Takes an ABNF grammar specification string and returns the combinator version. If you give it the right-hand side of a rule, it will return the combinator equivalent. If you give it a series of rules, it will give you back a grammar map. Useful for combining with other combinators.
Takes an ABNF grammar specification string and returns the combinator version. If you give it the right-hand side of a rule, it will return the combinator equivalent. If you give it a series of rules, it will give you back a grammar map. Useful for combining with other combinators.
(alt-preserving-hide-tag p1 p2)
(build-parser spec output-format)
(get-char-combinator & nums)
(hide-tag? p)
Tests whether parser was constructed with hide-tag
Tests whether parser was constructed with hide-tag
(merge-core grammar-map)
Merges abnf-core map in with parsed grammar map
Merges abnf-core map in with parsed grammar map
(parse-int string)
(parse-int string radix)
(precompile-cljs-grammar)
(rules->grammar-map rules)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close