|
|
|
|
|
by BruceM
3858 days ago
|
|
In Open Dylan (http://opendylan.org/), we have a library of our own written in Dylan that lets us write out LLVM IR in binary files. We have to update it as LLVM changes, but that typically isn't all that bad. We have some macros and a bunch of functions then that make emitting LLVM IR simpler. For example, the "ins--iterate" and "ins--if" / "ins--else" macros in this code handle phi nodes and so on: https://github.com/dylan-lang/opendylan/blob/05271f6fec9da05... This library is currently in the process of being updated from LLVM 3.5 to current HEAD as debug info has changed significantly upstream. After that, we will be landing some documentation for it as well. If you're interested in learning or hearing more about this, we're typically around on #dylan on freenode IRC. |
|