Re:Roc rewrites the compiler in Zig
by zozbot234 on Wednesday February 05, 2025 @04:05AM
(#42945925)
In principle you could fix any lack of syntactic sugar (which is what leads to the "clean code" feel in Scheme or Haskell - but even Swift has custom sugar of its own for refcounting and copy-on-write) with a custom macro - which would be entirely optional, triggered by a custom attribute such as #[sloppy_code]. But that still requires a lot of fiddly implementation work.
[ Parent
| on HN ]
There are no comments on this comment yet.