Yes to both; see code_llvm and code_native (explained in the docs). If you want to get an idea of the codegen process, start by setting a breakpoint in codegen.cpp:emit_expr or emit_function and step through.
On Wed, May 7, 2014 at 9:57 AM, Kai Neumann <[email protected]>wrote: > Hello, > > i am currently taking a university course of automatic code generation. As > a pracitcal example i wanted to ask if it is somehow possible to see the > Intermediate Representation (IR) of given Julia minimal code examples. Is > there any option to generate this IR or assembly code? What possibilities > do i have to look inside the code generation process to understand the > basic idea of Julias code generation approach. > > Kind Regards >
