experiment: rascal formatter based on Box and layoutDiff#2346
experiment: rascal formatter based on Box and layoutDiff#2346jurgenvinju wants to merge 127 commits intomainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2346 +/- ##
=======================================
Coverage 47% 47%
- Complexity 6633 6637 +4
=======================================
Files 783 783
Lines 64759 64754 -5
Branches 9695 9690 -5
=======================================
+ Hits 30737 30757 +20
+ Misses 31621 31597 -24
+ Partials 2401 2400 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
In the spirit of eat your own dog food, I gave it a spin
The error is not in the original file:
I did not investigate further, but it might very well be introduced by our |
toinehartman
left a comment
There was a problem hiding this comment.
Nice! Really cool to test declarative formatting on a mature languge.
I think finding a formatting for Rascal that's commonly agreed on might be controversial...
|



Rascal is a pretty big language so this pushes the new
toBoxandformatandlayoutDifffunctions to the max.toBoxrules such that the formatter produces beautiful layout, andtoBox,formatandlayoutDiffand fix them immediately.