lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

I'm looking for a Bison or Yacc-like tool that will generate a parser from a BNF or EBNF grammar. Does anyone know of such a thing?

Failing that, is there any way of making LPEG parse abstract tokens and not bytes from a string?

┌─── ───── ─────
│ "They laughed at Newton. They laughed at Einstein. Of course, they
│ also laughed at Bozo the Clown." --- Carl Sagan