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

Only regenerate parser if grammar has changed #158

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

sionide21
Copy link
Contributor

Previously, slime_parser.erl was regenerated on each compilation,
which casued any file depending on it to be recompiled, even if nothing
changed.

This continues to generate the grammar each time, but if it doesn't
differ from what's on disk, skip regenerating the parser.

Previously, `slime_parser.erl` was regenerated on each compilation,
which casued any file depending on it to be recompiled, even if nothing
changed.

This continues to generate the grammar each time, but if it doesn't
differ from what's on disk, skip regenerating the parser.
Copy link
Member

@doomspork doomspork left a comment

Choose a reason for hiding this comment

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

Welcome @sionide21! This looks good to me. @Rakoth do you have any thoughts?

Copy link
Member

@Rakoth Rakoth left a comment

Choose a reason for hiding this comment

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

👍 LGTM

@doomspork doomspork merged commit 9ea4a7d into slime-lang:master Oct 31, 2019
@sionide21 sionide21 deleted the dont-recompile branch November 1, 2019 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants