Regarding the parser combinator, it's based on https://github.com/epsil/gll
without the meoization and continuations stuff. One area that is
really poor is how the output tree is built. And that's the reason I
did not port
little markdown parser to guile-parser-combinators [3], both lake a
good way to build the output tree. guile-log does all this, I did not
find time to study it more closely.

I had another look at guile-parser-combinators by davexunit and in fact, it does support building arbitrary parse tree via parse-map and parse-match.

[3] https://git.dthompson.us/guile-parser-combinators.git

Reply via email to