(bounce v)
Returns a function that, when executed, returns the argument supplied to this
function, v
, wrapped in a vector if v
is a rule or scalar, or it returns
v
itself if v
is a list of rules or scalars. Used for mutually recursive
parse function's return values in conjunction with trampoline
to conserve
call-stack space.
Returns a function that, when executed, returns the argument supplied to this function, `v`, wrapped in a vector if `v` is a rule or scalar, or it returns `v` itself if `v` is a list of rules or scalars. Used for mutually recursive parse function's return values in conjunction with `trampoline` to conserve call-stack space.
SQL grammar in instaparse compatible BNF format loaded at compile time so it's available to cljs and js artifacts.
SQL grammar in instaparse compatible BNF format loaded at compile time so it's available to cljs and js artifacts.
Function to merge parsed (sub) query trees
Function to merge parsed (sub) query trees
(parse q)
(parse-all elts)
(parse-element e)
(parse-into-map elts)
(parse-rule r)
Uses trampoline
to allow for mutual recursion without consuming call stack
space when executing the rule parser on deeply nested rule trees.
Uses `trampoline` to allow for mutual recursion without consuming call stack space when executing the rule parser on deeply nested rule trees.
Keyword rule tags representing the SQL reserved words
Keyword rule tags representing the SQL reserved words
Parse SQL BNF rules depending on their type. Returns a function whose return chain will eventually contain the parsed rule after repeated execution.
Parse SQL BNF rules depending on their type. Returns a function whose return chain will eventually contain the parsed rule after repeated execution.
(rule-tag r)
(rule? elt)
Hierarchy of SQL BNF rule name keywords for parsing equivalence
Hierarchy of SQL BNF rule name keywords for parsing equivalence
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close