https://github.com/thautwarm/RBNF.jl
I">https://github.com/thautwarm... dislike this because I hate PEG& #39;s bad error hints and performance(maybe fast due to the radical compiler).
I& #39;ll keep this library but I& #39;ll support menhir for julia, just like what I did for python.
TL;DR:
I& #39;ll make a parser gen for julia. You might be familiar with ANTLR, but my flavour is http://gallium.inria.fr/~fpottier/menhir/">https://gallium.inria.fr/~fpottier...
Demo: https://github.com/derdon/menhir-example/blob/master/parser.mly
First">https://github.com/derdon/me... comes the intuitive and simple usage. More features: crazy performance, reasonable error hints, grammar reuse, etc.
I& #39;ve already finished the parser analyzer and IR generator, as well as a python backend: https://github.com/thautwarm/frontend-for-free
The">https://github.com/thautwarm... example JSON parser generated to python: https://github.com/thautwarm/frontend-for-free/blob/cfg/runtest/rbnfjson/json_parser.py

Julia">https://github.com/thautwarm... parser gen is done, I just need to integrate Automata.jl as the lexer gen.
You can follow @thautwarm.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: