You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* release-v0.7.1:
Bump version and update changelogs
Format recId.rzk.md
Fix the LSP flag/CPP
Fix rzk/ChangeLog.md
Fix MkDocs workflow: remove --rebase for mike
- Fix default build to include Rzk Language Server (`rzk lsp`) (see [`9b78a15`](https://github.com/rzk-lang/rzk/commit/9b78a15c750699afa93c4dab3735c2aa31e6faac));
12
+
- Apply formatting to `recId.rzk.md` example (see [`4032724`](https://github.com/rzk-lang/rzk/commit/40327246954332f40cd82c48d102bf4257ad719e));
- Fix default build to include Rzk Language Server (`rzk lsp`) (see [`9b78a15`](https://github.com/rzk-lang/rzk/commit/9b78a15c750699afa93c4dab3735c2aa31e6faac));
12
+
- Apply formatting to `recId.rzk.md` example (see [`4032724`](https://github.com/rzk-lang/rzk/commit/40327246954332f40cd82c48d102bf4257ad719e));
13
+
9
14
## v0.7.0 — 2023-12-08
10
15
16
+
Major changes:
17
+
18
+
- 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)):
19
+
- Automatically format files, partially automating the [Code Style of the sHoTT project](https://rzk-lang.github.io/sHoTT/STYLEGUIDE/)
20
+
- Notable features:
21
+
- 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)
22
+
- Puts the definition conclusion (type, starting with `:`) and construction (body, starting with `:=`) on new lines
23
+
- Adds a space after the `\` of a lambda term and around binary operators (like `,`)
24
+
- Moves binary operators to the beginning of the next line if they appear at the end of the previous one.
25
+
- Replaces [common ASCII sequences](https://rzk-lang.github.io/sHoTT/STYLEGUIDE/#use-of-unicode-characters) with their Unicode equivalent
26
+
- A CLI subcommand (`rzk format`) with `--check` and `--write` options
27
+
- Known limitations
28
+
- 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)
29
+
- Fixing indentation is not yet implemented due to the need for more semantics than the lexer provides to determine indentation level.
30
+
- There may be rare edge cases in which applying the formatter twice could result in additional edits that were not detected the first time.
31
+
32
+
Minor changes:
11
33
34
+
- Fix "latest" Rzk Playground link (see [#137](https://github.com/rzk-lang/rzk/pull/137));
35
+
- Add more badges to README (see [#136](https://github.com/rzk-lang/rzk/pull/136));
0 commit comments