Re:A Lua 5.3 VM and compiler written in Go
by rufius on Monday October 02, 2017 @10:09PM
(#15389582)
For my own toy compilers/interpreters, I basically always hand-roll my parsers. The only exception to that is when the purpose of building the compiler in the first place is to use a library like Parsec or FParsec.
That said - many languages I dabble in are variants on Forths or Lisps where parsing is easy comparatively.
That said - many languages I dabble in are variants on Forths or Lisps where parsing is easy comparatively.