TheDan64 / limonite

[WIP] Compiler for the Limonite programming language.
Apache License 2.0
15 stars 3 forks source link

Make backend configurable #43

Closed DanCardin closed 7 years ago

DanCardin commented 7 years ago

Basically, don't require llvm to be installed (compile time flag) when building. and otherwise set up code gen folder structure and trait to allow for different backends.

As a test of this you could move the print ast flag to instead to just be a backend

TheDan64 commented 7 years ago

We can do this, but I'd prefer LLVM to stay the default, and opt-in to another backend (or none at all for testing)