ohua-dev / ohuac

A standalone compiler for ohua algorithms
Eclipse Public License 1.0
1 stars 0 forks source link

Dumping mechanism for code during intermediate stages in the compiler #12

Open JustusAdam opened 5 years ago

JustusAdam commented 5 years ago

@sertel Wants a simple command in ohuac to parse an alang file and spit out the internal representation in Haskell that is suitable to be pasted into a test file. This should allow us to write code for tests easier

Perhaps we could make this even more general. For analyzing how our higher order functions are handled I would like to inspect the code at various stages in the compiler. Perhaps we could instead add a general mechanism for dumping various types of internal representation for certain stages in the compiler.