tj / luna

luna programming language - a small, elegant VM implemented in C
2.46k stars 148 forks source link

Compilation #63

Open ir-g opened 10 years ago

ir-g commented 10 years ago

Would it be possible to add the ability to compile Luna code to machine code. (possibly by embedding code in the VM)

ir-g commented 10 years ago

?

autohawk commented 9 years ago

is this project died?

glhrmfrts commented 8 years ago

I'd like to consider that as an option, luna has everything to be a compiled language. However I think the prior target is building a pure interpreted language.

ir-g commented 8 years ago

@glhrmfrts Indeed. I merely suggested it because of the ease of distribution a compiled application has over bundling a VM.

tj commented 8 years ago

that was the original plan, but compiled would be fun too! I'd like a crossover between Go and Rust personally, something inbetween would be a nice fit, but that's also a ridiculous amount of work haha

ir-g commented 8 years ago

@tj Yeah - It would be a lot of effort. The syntactical appearance of Luna really appeals to me as something to write small compiled web apps in, for easy local distribution - but the sheer amount of stuff that would need to be implemented makes that impossible.

glhrmfrts commented 8 years ago

Well, the good thing is that we are still in the parsing phase, so there's plenty of time to discuss this more deeply.