Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/laurci/ts-llvm

Macro that converts functions to LLVM IR
https://github.com/laurci/ts-llvm

Last synced: 30 days ago
JSON representation

Macro that converts functions to LLVM IR

Awesome Lists containing this project

README

        

# ts-llvm

Macro that converts functions to LLVM IR and builds it.

This project is **incomplete**! It can only compile return statements and i32 values.

## Building and runnning

You need to have llvm 14 installed on your system.

To build the project run `yarn build`. The output can be found in the `demo` directory. The binary is `demo/out/test_main`. The generated IR text can be found in `demo/test_main.ll`.