1
1
mirror of https://github.com/anoma/juvix.git synced 2024-12-02 10:47:32 +03:00
juvix/examples/milestone
Łukasz Czajka c143259aee
Allow trailing semicolons everywhere (#3123)
* Closes #3039
* Closes #3043
* Closes #2970
* Closes #3089
* Parser allows trailing semicolons for any kind of semicolon-separated
items:
  - let-block statements,
  - module statements,
  - record declaration statements,
  - record update fields,
  - record pattern fields,
  - named application arguments,
  - list literal items,
  - list pattern items,
  - open statement using/hiding items,
  - `syntax iterator` declaration parameters,
  - `syntax fixity` declaration parameters.
* Formatter prints trailing semicolons if the items are displayed on
separate lines, removes them if on a single line.
* The formatting of multiline lists is changed to make it consistent
with other semicolon-separated blocks:
```
[
  1;
  2;
  3;
]
```
instead of
```
[ 1
; 2
; 3
]
```
2024-10-29 18:25:06 +01:00
..
Bank Allow trailing semicolons everywhere (#3123) 2024-10-29 18:25:06 +01:00
Collatz Set line width to 80 (#3124) 2024-10-25 15:11:19 +02:00
Fibonacci Update standard library coding style according to the guidelines (#3092) 2024-10-14 15:56:54 +02:00
Hanoi Allow trailing semicolons everywhere (#3123) 2024-10-29 18:25:06 +01:00
HelloWorld Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00
PascalsTriangle Set line width to 80 (#3124) 2024-10-25 15:11:19 +02:00
TicTacToe Allow trailing semicolons everywhere (#3123) 2024-10-29 18:25:06 +01:00
Tutorial Migrate old named application syntax (#2876) 2024-07-12 18:31:09 +02:00