mirror of
https://github.com/anoma/juvix.git
synced 2024-12-12 14:28:08 +03:00
b7b0e1039e
- Closes #2162 This pr improves formatting of source files with comments. The concrete ast now stores location information of almost all keywords. We do not store location information of parentheses. Comments will be pushed out of parentheses by the formatter. E.g. ``` ( -- comment f x) ``` will become ``` -- comment (f x) ``` This only occurs if the comment appears just after the `(`. So the following will be respected ``` (f --comment x) ``` --------- Co-authored-by: Jonathan Cubides <jonathan.cubides@uib.no> |
||
---|---|---|
.. | ||
demo | ||
midsquare | ||
milestone |