Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make case insensitive parser configurable #256

Open
riederm opened this issue Aug 22, 2021 · 2 comments
Open

make case insensitive parser configurable #256

riederm opened this issue Aug 22, 2021 · 2 comments

Comments

@riederm
Copy link
Collaborator

riederm commented Aug 22, 2021

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

@ghaith
Copy link
Collaborator

ghaith commented Jun 22, 2022

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)

@teksturi
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants