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

Make bison parser enabled by default #3721

Closed
wants to merge 14 commits into from
Closed

Conversation

dwightguth
Copy link
Collaborator

@dwightguth dwightguth commented Oct 17, 2023

Fixes #1741

This enables the bison parser by default everywhere. We can still get the old jit parser behavior by passing a flag.

Not ready for review yet; still needs more testing.

@rv-jenkins rv-jenkins changed the base branch from master to develop October 17, 2023 18:21
@@ -396,60 +397,79 @@ private static void processProduction(Production prod, Module module, Module dis
" node *n = malloc(sizeof(node) + sizeof(node *));\n" +
" n->str = false;\n" +
" n->location = @$;\n" +
" n->hasLocation = " + (hasLocation ? "1" : "0") + ";\n" +
Copy link
Contributor

Choose a reason for hiding this comment

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

@Baltoli with Java 15, you can do multiline strings which hopefully will make this look a bit nicer.

@dwightguth dwightguth closed this Oct 26, 2023
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.

Bison parser is default
2 participants