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

Update to GHC 9.6, latest Stackage Nightly, and use BNFC in setup #116

Merged
merged 17 commits into from Oct 1, 2023

Conversation

fizruk
Copy link
Member

@fizruk fizruk commented Oct 1, 2023

  • Update to support GHC 9.6
  • Update to latest Stackage Nightly: nightly-2023-09-30
  • Use BNFC in Setup.hs
  • Override BNFC-generated printTree (from Language.Rzk.Syntax.Print module) — remove indentation for curly braces
  • Improve GitHub Actions workflows
    • Faster builds
    • Rzk checks for (some) formalisations in the docs
  • Add .gitattributes

.gitattributes Outdated
@@ -0,0 +1,3 @@
rzk/grammar/Syntax.cf linguist-language=grammar
Copy link
Member

Choose a reason for hiding this comment

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

I don't see grammar as a language identifier in languages.yml. Perhaps it should be ABNF or EBNF? Note that either would also require linguist-detectable since they have type: data

Copy link
Member Author

Choose a reason for hiding this comment

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

Updated to use EBNF, thanks!

@deemp
Copy link
Contributor

deemp commented Oct 1, 2023

With pedantic: false, freckle/stack-action won't fail on warnings.

@fizruk
Copy link
Member Author

fizruk commented Oct 1, 2023

With pedantic: false, freckle/stack-action won't fail on warnings.

I would rather fix the warnings than remove pendantic checks :)

@fizruk fizruk force-pushed the update-to-ghc-9.6 branch 4 times, most recently from c6e1e27 to 8f3ab43 Compare October 1, 2023 11:01
@fizruk fizruk merged commit d1a1085 into develop Oct 1, 2023
4 checks passed
@fizruk fizruk deleted the update-to-ghc-9.6 branch October 1, 2023 15:15
@fizruk fizruk mentioned this pull request Oct 1, 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.

None yet

3 participants