Open rtulip opened 1 year ago
This might help with creating a stack: https://github.com/riywo/llforth
Is Cranelift an option as well or do you need proper support for tail calls?
Is Cranelift an option as well or do you need proper support for tail calls?
I've not worked with either, but as far as I understand, cranelift would also work.
I haven't used Cranelift, but it seems like it might easier to integrate given it's written in Rust.
That is a good point. I had been planning on generating LLVM assembly, but being able to do the code gen in source may be nice.
Rather than generating assembly, Haystack should instead generate LLVM ir.
Unresolved questions:
syscall
is currently used for)