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

Release v0.7.0 #146

Merged
merged 2 commits into from
Dec 8, 2023
Merged

Release v0.7.0 #146

merged 2 commits into from
Dec 8, 2023

Conversation

fizruk
Copy link
Member

@fizruk fizruk commented Dec 8, 2023

Major changes:

  • Add an experimental rzk format command (by Abdelrahman Abounegm, with feedback by Fredrik Bakke (see sHoTT#142) and Nikolai Kudasov):
    • Automatically format files, partially automating the Code Style of the sHoTT project
    • Notable features:
      • Adds a space after the opening parenthesis to help with the code tree structure
      • Puts the definition conclusion (type, starting with :) and construction (body, starting with :=) on new lines
      • Adds a space after the \ of a lambda term and around binary operators (like ,)
      • Moves binary operators to the beginning of the next line if they appear at the end of the previous one.
      • Replaces common ASCII sequences with their Unicode equivalent
      • A CLI subcommand (rzk format) with --check and --write options
    • Known limitations
      • The 80 character line limit is currently not enforced due to the difficulty of determining where to add line breaks (for reference, check out this post by a Dart fmt engineer)
      • Fixing indentation is not yet implemented due to the need for more semantics than the lexer provides to determine indentation level.
      • There may be rare edge cases in which applying the formatter twice could result in additional edits that were not detected the first time.

Minor changes:

  • Fix "latest" Rzk Playground link (see #137);
  • Add more badges to README (see #136);

@fizruk fizruk merged commit 1421c13 into develop Dec 8, 2023
6 checks passed
@fizruk fizruk deleted the release-v0.7.0 branch December 8, 2023 12:43
@fizruk fizruk changed the title Bump version and update changelogs (and CITATION.cff) Release v0.7.0 Dec 8, 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.

2 participants