Mark Engelberg

Results 144 comments of Mark Engelberg

Great work! Now that I understand the purpose of the pull requests, it will be easier to evaluate those. Thanks for this.

Looks like a useful addition. Can you elaborate on whether inclusions/exclusions for whitespace rules "trickle down" to subrules? For example, S = A A = 'a'+ If you say :only...

I've been thinking about this again. So the way it works right now is that optional whitespace is added in front of all tokens (strings or regexes) and at the...

I believe {} to be the correct output for Enlive format. If you are getting a sequence, most likely you have hidden the name of the root tag, so there's...

Can you give me a concrete example of your first use case?

Clojure macros essentially transform an abstract syntax tree into another abstract syntax tree. I see that macro transforms might need to be applied repeatedly until no macros remain, but I...

OK, I see now what you're driving at. There are some things I need to think about, for example, whether the error messages are sufficiently meaningful in a reparse. These...

I can see how that would be convenient, but it would definitely make the code more complex. Right now, parsers are all represented internally as maps, with a `:tag` identifying...

Generally anything that can be expressed as a regular expression will be way faster as a regular expression. The regular expression has a huge advantage in that the correct interpretation...

Sorry, there's no way to tag things other than to introduce the tag on the left-hand side of a rule. One advantage of this approach is it lends itself to...