jison icon indicating copy to clipboard operation
jison copied to clipboard

%options undocumented

Open jhorneman opened this issue 9 years ago • 2 comments

It is possible to write the following in a jison grammar file:

%lex
%options case-insensitive

This makes jison-lex ignore case during tokenization. This is both useful and, to the best of my knowledge, undocumented. I can't find it in the Bison docs either.

jhorneman avatar Feb 17 '16 20:02 jhorneman

In theory this also belongs in the jison-lex docs, but it seems more important here. If you want me to add it to the docs, I'd be happy to write it, I'm just not sure where it should go and whether there are other options that should be documented.

jhorneman avatar Feb 17 '16 20:02 jhorneman

@jhorneman The flex docs are also relevant to jison as well. I have no idea how much of it is relevant though, good weekend reading none the less.

metasansana avatar Mar 12 '16 05:03 metasansana