cb94372f29
new ast: added a new syntactic_ast module that provides a more structured AST as a GADT
ci/woodpecker/push/build Pipeline was successful
2026-01-03 16:44:00 +03:00
bc7ca0fa2d
new library: added containers as a dependency.
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/build Pipeline was successful
ci/woodpecker/cron/build Pipeline was successful
2026-01-01 13:36:09 +03:00
9981c222eb
Added desugar phase for converting cond into a chain of if's
2025-12-28 21:04:45 +03:00
624d420afe
Separated mutually recursive definition of desugar phases
...
They do not need to be mutually recursive at all. At first I thought
they would have to be, because I thought it would be best if each phase
completely desugared the bodies of the expressions they handle, but now
I see that would probably lead to an infinite loop.
There is simply no reason to couple them so tightly.
2025-12-28 21:04:45 +03:00
d80caadc85
Added gensym, and phases in the desugar module for logical and & or
2025-12-28 21:04:45 +03:00
be0d479665
Added desugar steps to add (begin) wrappers around long lambda bodies, and rewrite internal (define) forms into letrec forms
2025-12-28 21:04:45 +03:00
4f1ad54596
Started work on the compiler, with a desugar phase
2025-12-28 21:04:45 +03:00
adbf083c3d
Reorganized project
2025-12-28 21:04:45 +03:00