janet/examples/sysir
Calvin Rose 25b7c74089 More work on register allocation and spilling.
Setup frontend.janet to show the basics of what is going on. Currently
emitting "fake" instructions just to hash out the idea.

One apparent issue is how we handle register spilling during variable
argument IR instructions (function calls). Arguments should come
_before_ the function call not after.
2024-06-05 17:50:11 -05:00
..
arrays1.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00
arrays2.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00
basic1.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00
basic2.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00
frontend.janet More work on register allocation and spilling. 2024-06-05 17:50:11 -05:00
typeerr0.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00
typeerr1.janet Allow for multiple functions in a sysir "context". 2023-10-22 16:05:38 -05:00