-
Notifications
You must be signed in to change notification settings - Fork 129
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
LivePreview for Lexer #301
Comments
A simple lexer test makes it quite tolerable IMO. |
JFlex is a state machine plus a user-defined java code that can also mess with states. The user-defined code sections limit our possibilities to only one option - to reuse the generated lexer class. So here's the idea of a quick way to do that without messing with javac: If the lexer depends only on token-type constants and JDK then it is possible to load it as a groovy script into a javax.scripting groovy engine. See also #44 |
any update; |
I would like to check what tokens are produced by a lexer that specified in a .flex file.
We have LivePreview for Parser. Could we have LivePreview for Lexer too? Without it developing a lexer is such a PITA.
The text was updated successfully, but these errors were encountered: