Ttibsi/winter

LLVM experiment

★ 3Forks 0C++GitHub ↗Compare

README

Winter

An experiment with LLVM to buiild a simple programming frontend. While the intended syntax is stored in t.wtx, only returning a value from main is implemented.

How to use

Requisites: c++23-compatible compiler, meson, llvm

$ meson setup build
$ meson compile -C build
$ ./build/winter docs/example/return.wtx
$ ./a.out
$ echo $?  # Show the return value of the previously executed command

Contributors

Ttibsi

Issues