lean4-htt/doc/examples/compiler
Garmelon 6a2a884372
chore: migrate pkg tests (#12889)
Also refactor util.sh in the process, so test scripts become easier to
write (inspired in part by lake's test suite).
2026-03-11 18:55:46 +00:00
..
.gitignore feat: support Lake for building Lean core oleans (#3886) 2024-06-13 16:18:24 +00:00
README.md
run_test chore: migrate pkg tests (#12889) 2026-03-11 18:55:46 +00:00
test.lean chore: move tests to new frontend 2020-10-23 14:07:26 -07:00
test.lean.out.expected chore: migrate more tests to new test suite (#12809) 2026-03-06 16:52:01 +00: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]