Module codegen

Expand description

The codegen module converts the BlueTac IR to an x86_64 Assembly AST and then writes/emits the assembly code to an ‘.s’ file. In the future, we’ll add other targets such as Arm64.

Functions§

codegen
Generates the assembly code for the given IR program and then emits/writes the code to an ‘.s’ file.