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

Lexer.lex with instant action? #21

Open
DiscreteTom opened this issue Sep 25, 2023 · 1 comment
Open

Lexer.lex with instant action? #21

DiscreteTom opened this issue Sep 25, 2023 · 1 comment
Labels
enhancement New feature or request lexer

Comments

@DiscreteTom
Copy link
Owner

Use a temporary action to lex the input?

lexer.lex({ action: new Action() })

Maybe this is useful in error handling?

@DiscreteTom DiscreteTom added enhancement New feature or request lexer labels Sep 25, 2023
@DiscreteTom
Copy link
Owner Author

This may break the consistency of lexer's action state.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lexer
Projects
None yet
Development

No branches or pull requests

1 participant