perlang-org / perlang

The Perlang Programming Language
https://perlang.org
MIT License
16 stars 1 forks source link

(compiler) Add `-c` flag for "compile and assemble only" #455

Closed perlun closed 5 months ago

perlun commented 5 months ago

This commit is a small step towards #454. By adding this flag, it's possible to "use Perlang as a transpiler" only. Okay, a little more than a transpiler, since it also emits ELF object files. :) But still, it helps us towards a state where we can gradually, incrementally rewrite parts of the Perlang compiler in Perlang. Oh, the joy! Oh, the glory!