We should probably have a little test suite! Even if we just started by validating that a small set of programs (like our current examples/ directory) compiled without errors, even without checking the compiled code, that would be better than the status quo. :smiley:
It probably makes the most sense to distinguish between examples, which are human-legible programs meant to actually demonstrate useful concepts, and tests, which are trivial programs that just check the correctness of the compiler. The examples directory can go outside of the lotus directory.
We should probably have a little test suite! Even if we just started by validating that a small set of programs (like our current
examples/
directory) compiled without errors, even without checking the compiled code, that would be better than the status quo. :smiley:It probably makes the most sense to distinguish between examples, which are human-legible programs meant to actually demonstrate useful concepts, and tests, which are trivial programs that just check the correctness of the compiler. The examples directory can go outside of the
lotus
directory.