3 ms·
We can modify the code at a few different levels. The easiest level is our untyped intermediate representation. The next easiest level is to modify things at th
by eigenspace 4y ago
We can modify the code at a few different levels. The easiest level is our untyped intermediate representation. The next easiest level is to modify things at the level of the LLVM code which is basically one step above assembler, and almost always better to work on than direct machine code (also machine code can be embedded in LLVM code if you need to). You can also use https://github.com/YingboMa/AsmMacro.jl https://github.com/YingboMa/AsmMacro.jl if you like.
We are also working out interfaces to make it easier to programatically work on our typed IR through a technique and set of interfaces known as "abstract interpretation".