hara.common.grammar
build
added in 3.0
(build)(build & {:keys [lookup include exclude], :or {lookup +op-all+}})selector for picking required ops in grammar
collect-ops
added in 4.0
(collect-ops arr)collects alll ops together
(collect-ops +op-all+) => map?
default-lookup
added in 4.1
(default-lookup lookup)returns the default lookup with optional categories removed
gen-ops
added in 4.0
(gen-ops ns shortcut)generates ops
(gen-ops ’hara.common.grammar-spec “spec”) => vector?
grammar-sections
added in 3.0
(grammar-sections reserved)process sections witihin the grammar
grammar-structure
added in 3.0
(grammar-structure reserved)returns all the :block and :fn forms
normalize-op-entry
added in 4.1
(normalize-op-entry entry)normalizes grammar entry defaults shared across macro-style operators
ops-summary
added in 4.0
(ops-summary & [ks])gets the symbol and op name for a given category