LRSTAR - Parser Generator for C++ A.M.D.G.
About Feedback Installation
and Setup
LRSTAR DFA Papers Release
Notes
Contact,
Support
BASIC ADVANCED EXPERT

DFA Options

|   ci        0     Case insensitivity (1,2) 

ci=1
In a language which uses case insensitivity for keywords and variables, and your grammar has the keywords written in "lower case" letters, you should use /ci=1.

In this case, all UPPER CASE letters should be removed from the lexical grammar (.lgr file). Just define "uppercase" and subtract it where necessary.

   uppercase = 'A'..'Z'

   any = 0..255 - uppercase.

ci=2
In a language which uses case insensitivity for keywords and variables, and your grammar has the keywords written in "UPPER CASE" letters, you should use /ci=2.

In this case, all lower case letters should be removed from the lexical grammar (.lgr file). Just define "lowercase" and subtract it where necessary.

   lowercase = 'a'..'z'

   any = 0..255 - lowercase.

(c) Copyright Paul B Mann 2023.  All rights reserved.