evincarofautumn / kitten

A statically typed concatenative systems programming language.
http://kittenlang.org/
Other
1.1k stars 39 forks source link

State of the compiler #215

Closed bhelx closed 5 years ago

bhelx commented 5 years ago

What is the state of the native code compiler? I see it's currently called out as incomplete in the README. I tried guessing the command to compile and tried the fibonacci example. This doesn't output anything:

kitten -c ir -o fib fib.ktn
evincarofautumn commented 5 years ago

There’s nothing usable right now. Originally -cc would use the old C backend, but that’s been broken for a while—or rather, I didn’t port it over when I did a rewrite of the compiler, because I expected to get the native code generator done sooner, but got sidetracked on frontend/“midend” work.

I’m going to have a few evenings to focus on it this week, so I’ll try to integrate what I’ve been working on behind the scenes. In the meantime you can use the interpreter.

bhelx commented 5 years ago

Thanks @evincarofautumn. I'll close now as this was just a question.