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

https://github.com/mattweingarten/lambdapure

bachelor thesis: SSA IR for strict functional language
https://github.com/mattweingarten/lambdapure

compiler llvm

Last synced: 2 months ago
JSON representation

bachelor thesis: SSA IR for strict functional language

Awesome Lists containing this project

README

          

# Github for bachelor thesis
## [A static-single-assignment intermediate representation for a pure functional language](./Thesis.pdf)

## Build / Commands

### build
```
export BUILD_DIR=/mnt/c/Users/path-to-llvm

cmake .. -DMLIR_DIR=$BUILD_DIR/lib/cmake/mlir \
-DLLVM_EXTERNAL_LIT=$BUILD_DIR/bin/llvm-lit \

cmake --build .
```
### to view tblgen (from build)
```
$BUILD_DIR/bin/mlir-tblgen -gen-op-defs ../include/lambdapure/Ops.td -I $BUILD_DIR/../mlir/include/

```
### lambdapure generation

```
set_option trace.compiler.lambda_pure true

set_option trace.compiler.ir.init true
```