Skip to content
flippac edited this page Aug 13, 2014 · 7 revisions

Idris' implementation has a number of intermediate languages that back end developers can use as a starting point. Quoting Edwin from IRC:

the data structures are in IRTS/ - I don't think they're that huge IRTS/CodegenCommon.hs has the top level structure that contains all the IRs you've basically got LDecl, which is untyped lambda calculus, DDecl, which is a first order language, and SDecl, which is ANF more or less oh, LDecl is lambda lifted too

Obviously this page wants expanding! For those new to them, lambda lifting and ANF both have tolerable wikipedia pages and are familiar to many functional compiler programmers, so it should be possible to find people to ask questions. Has anyone taken enough of a look at eg StackOverflow to know if there are good answers?

Clone this wiki locally