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

Add an example language using lalrpop as a parser #46

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

MiSawa
Copy link
Contributor

@MiSawa MiSawa commented Feb 13, 2022

This change adds an example language that uses lexgen as the lexer and lalrpop as the parser.
It's in a new crate, since I wasn't able to find a way to add lalrpop code generation logic that's triggered only on build of examples/, especially without invoking some build script in all the library users' environment.

Please feel free to tweak things, change the directory structure, rename, or whatever you like (including just reject the PR of course!).

@MiSawa MiSawa mentioned this pull request Feb 13, 2022
Copy link
Owner

@osa1 osa1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, thanks @MiSawa!

@osa1 osa1 merged commit 2b58437 into osa1:main Feb 14, 2022
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

Successfully merging this pull request may close these issues.

2 participants