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

Are there any way to do conditional lexing? #73

Open
nikitos1550 opened this issue Aug 8, 2021 · 1 comment
Open

Are there any way to do conditional lexing? #73

nikitos1550 opened this issue Aug 8, 2021 · 1 comment

Comments

@nikitos1550
Copy link

Are there anything like flexs start states or plys states?
Or maybe some other way should be used to archive similar behaviour?

@jpsnyder
Copy link

There is a way to change lexing states, but it is only documented in the changelog: https://github.com/dabeaz/sly/blob/master/CHANGES#L126

Is that what your asking about?

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

2 participants