I have been meaning to spend some time learning LPEG. I usually just reach for lrexlib when I need something more than regular Lua patterns. But, the composability of LPEG seems very powerful. Just need to spend some time wrapping my head around it.
You should check Janet programming language; it has PEG as part of the core https://janet-lang.org/docs/peg.html. And it is overall nice LISP dialect with some Lua flavour.
I have been meaning to spend some time learning LPEG. I usually just reach for lrexlib when I need something more than regular Lua patterns. But, the composability of LPEG seems very powerful. Just need to spend some time wrapping my head around it.
You should check Janet programming language; it has PEG as part of the core https://janet-lang.org/docs/peg.html. And it is overall nice LISP dialect with some Lua flavour.
I think that’s a great way to describe it. You can feel the Lua-isms in the design, even if the syntax are different.