GerHobbelt / jison

bison / YACC / LEX in JavaScript (LALR(1), SLR(1), etc. lexer/parser generator)
https://gerhobbelt.github.io/jison/
MIT License
118 stars 20 forks source link

Add unit tests to directly verify feature stripper generating compiling-and-running output #61

Open GerHobbelt opened 3 years ago

GerHobbelt commented 3 years ago

Stuff gets complex. The grammar feature detector is one part, but the stripper should ideally be tested separately. Export helper APIs as may be required.