mirror of
https://github.com/janet-lang/janet
synced 2024-11-16 05:34:48 +00:00
ef2dfcd7c3
Basic frontend being prototyped in examples/sysir/frontend.janet. Still a lot of work needs to be done here, and some of this code will eventually move to C most likely, but this is a good way to better exercise our backend. Type inference - at the very least _forward_ inference, is the most needed change here. While one could do this in the compiler frontend, doing so in sysir/asm is not so much of an issue. "Inference" here means inserting "bind" instructions when there is only a single type that will work correctly. |
||
---|---|---|
.. | ||
arrays1.janet | ||
arrays2.janet | ||
basic1.janet | ||
basic2.janet | ||
frontend.janet | ||
typeerr0.janet | ||
typeerr1.janet |