|
|
|
|
|
by virgilp
3290 days ago
|
|
TBH, that depends HIGHLY on the context. If I'm not familiar with Lua, do you not hire me? I'd answer "flex and bison" because they're (for me) extremely easy to work with, rest on solid theoretical foundations, have great tools for checking & understanding you grammars, and produce blazingly fast parsers - probably orders of magnitude faster than whatever you do in Lua. Oh, and the parser code is C, so it integrates perfectly. |
|
And for the record, flex and bison might be faster than Lua and LPeg, but so far, it hasn't been an issue.