connorjacobsen / iris

The Iris programming language
MIT License
8 stars 1 forks source link

Add cli flag for dumping IR #5

Closed connorjacobsen closed 8 years ago

connorjacobsen commented 8 years ago

There should be a command line flag that tells the compiler to dump the generated LLVM IR. This will be extremely useful for adding new language constructs and would be much nicer than having to add print statements or something of the like.

There will be other compiler flags in the future, so this would not be a bad place to start.