lean4-htt/doc/examples/compiler
2020-10-23 14:07:26 -07:00
..
README.md feat: leanmake: auto-detect PKG 2020-06-13 15:22:01 +02:00
test.lean chore: move tests to new frontend 2020-10-23 14:07:26 -07:00

In this example, we use the Lean C code generator to construct a simple program.

1- Generate build/bin/test program using leanmake bin (assuming bin/ from e.g. the stage 0.5 build directory is in your PATH)

2- Execute test program

./build/bin/test hello world

It should produce Result: [hello, world]