parsley
parsley copied to clipboard
a DSL for creating total and truly incremental parsers in Clojure
It would be great if you could deploy a signature for the latest release of this library and make it a habit of deploying signed jars in the future. Here's...
Thanks to @cgrand for making this library available. However, unless the algorithm is upgraded to LR(1) (if not something even more powerful), it would be better to put a clear...
Hi, Is it possible to get the original options(-map) and rules(-list) with which a parser was created ? e.g. in your test.clj doing this (:net.cgrand.parsley/options (meta fexpr)) ...gives me the...
Hiya. Really enjoying using parsley. I've got a grammar up and running that can parse a number of different expressions. However, I'm struggling with defining the rules to allow lists...
I'm not sure why this works :- ``` ((parser {:main :name} :nameStartChar #"[\w]" :nameChar #"[\w]*" :name [:nameStartChar :nameChar] ) "foo") ``` returning ``` #net.cgrand.parsley.Node{:tag :net.cgrand.parsley/root, :content [#net.cgrand.parsley.Node{:tag :name, :content [#net.cgrand.parsley.Node{:tag...
As far as I can tell, and I'm embarrassed to admit that I'm quite over my head in your amazing sci-fi incremental parser code, there's no way you can make...
When the UnionMatcher throws due to ambiguous match, the possible matches are not added to the exception, which makes it harder than necessary to debug parsers for this case.