Comment on Does this compiler exist?

<- View Parent
noli@programming.dev ⁨11⁩ ⁨months⁩ ago

LLVM is designed in a very modular way and the LLVM IR allows you to specify e.g. if memory management should be manual/garbage collected.

You could make a frontend (design a language) for LLVM that exposes those options through some compiler directives.

In general I’d heavily recommend looking into LLVM’s documentation.

source
Sort:hotnewtop