acmpesuecc / Yocto

A yocto compiler written in OCaml
GNU General Public License v3.0
1 stars 6 forks source link

[CORE] LLVM-IR based code gen #4

Open Icarus131 opened 1 month ago

Icarus131 commented 1 month ago

The existing implementation (codegen.ml) for code generation directly evaluates expressions by translating the constructs into OCaml functions directly. Transitioning from this to an LLVM-IR based code generation setup will lead to a good bump in the general performance of the compiler.

TODO: