nearley
nearley copied to clipboard
Returning different exit values from nearley-test
I am writing tools around nearley-test and it would be helpful to know when
- the results are successful (0)
- when more input is required (currently 0) // This should be something else
- when the grammar is ambiguous (currently 0) // This should be something else
- bad grammar (1)