lean4-htt/doc/examples/compiler
Garmelon a3cb39eac9
chore: migrate more tests to new test suite (#12809)
This PR migrates most remaining tests to the new test suite. It also
completes the migration of directories like `tests/lean/run`, meaning
that PRs trying to add tests to those old directories will now fail.
2026-03-06 16:52:01 +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 more tests to new test suite (#12809) 2026-03-06 16:52:01 +00:00
test.lean
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]