rusty icon indicating copy to clipboard operation
rusty copied to clipboard

make case insensitive parser configurable

Open riederm opened this issue 4 years ago • 2 comments

The parser is currently case-insensitive due to #255. The parser behavior should be configurable from the cli (like strict mode).

riederm avatar Aug 22 '21 20:08 riederm

The lexer is configured at compile time, we can maybe make that a feature We can make the reference check configurable (we currently store everything in lower case, and search for lowercase matches in the index)

ghaith avatar Jun 22 '22 13:06 ghaith

It is also possibility that there is two different lexer. That can be then configured runtime which one to use.

Case insensitive lexer can be then mapped to case sensitive lexer. That way case sensitive lexer would be really fast but case insensitive lexer would be even more slower.

Also other way around is possible and in that case probably both are about same speed as current case insensitive lexer.

teksturi avatar Nov 26 '24 11:11 teksturi