Skip to content

Commit

Permalink
Fix rzk/ChangeLog.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fizruk committed Dec 8, 2023
1 parent 13759e8 commit 2644541
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions rzk/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,26 @@ and this project adheres to the

## v0.7.0 — 2023-12-08

Major changes:

- Add an experimental `rzk format` command (by [Abdelrahman Abounegm](https://github.com/aabounegm), with feedback by [Fredrik Bakke](https://github.com/fredrik-bakke) (see [sHoTT#142](https://github.com/rzk-lang/sHoTT/pull/142)) and [Nikolai Kudasov](https://github.com/fizruk)):
- Automatically format files, partially automating the [Code Style of the sHoTT project](https://rzk-lang.github.io/sHoTT/STYLEGUIDE/)
- Notable features:
- Adds a space after the opening parenthesis to help with the [code tree structure](https://rzk-lang.github.io/sHoTT/STYLEGUIDE/#the-tree-structure-of-constructions)
- 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](https://rzk-lang.github.io/sHoTT/STYLEGUIDE/#use-of-unicode-characters) 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](https://journal.stuffwithstuff.com/2015/09/08/the-hardest-program-ive-ever-written/) 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](https://github.com/rzk-lang/rzk/pull/137));
- Add more badges to README (see [#136](https://github.com/rzk-lang/rzk/pull/136));

## v0.6.7 — 2023-10-07

Expand Down

0 comments on commit 2644541

Please sign in to comment.