-
Notifications
You must be signed in to change notification settings - Fork 205
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
Development "Mode" #370
Comments
Runtime type checks should be pretty simple to implement using NO-OP pattern. |
Also wanted to mention that I don't think the library should alert the user about: |
Another suggestion, sometimes you want to actually see the skipped tokens. I propose that the debug mode shows the skipped tokens as well. This way you can ensure that skipped tokens are being skipped properly. |
Thanks, it is a good suggestion, it is already possible to do this manually See example of Token Groups. |
I see, by changing the groups, you can then later filter the token vector by groups. One more suggestion, the diagram creation examples all work on parsers, what about diagram creation for the lexers? https://github.com/JexCheng/regulex |
Diagrams for regExps look nice. The more interensting potential of a library like regulex is more in depth analysis of the lexer. |
I don't think this issue is still relevant.
One thing that is still very relevant is #874 - a debug helper method to collect information while debugging. |
As the name implies, a Dev mode should help during the development of Chevrotain Grammars.
Examples:
The text was updated successfully, but these errors were encountered: