letloop is a Chez Scheme command line tool with some goodies: the test runner with code coverage makes sure you touch the ground running, and it also possible to produce elf binaries for your deployment convenience.
The algorithm to reduce entropy is missing. Be assured that I am doing everything I can to fix the current state of the art^W loop. Meanwhile, download letloop for your favorite GNU/Linux, or (Just Linux), then you can use the following templates as inspiration to invoke your favorite, all around best scheming device:
letloop exec program.scm
executes
program.scm;
letloop compile program.scm
will produce an elf
binary called a.out
for program.scm
;
letloop check library.scm
execute the test runner
for library.scm
. The test runner expects tests to be thunks
named with a prefix ~check-
e.g. ~check-ess-000-earth-is-not-flat
exported by
library.scm
. The test runner expects a return value that
satisfies the following predicate
(lambda (x) (eq? x #true)
, otherwise anything besides
#true
is considered a test failure, or error, use
--fail-fast
to exit as soon as bad things happens. A HTML
code coverage report with number of run times is produced. It helps
identify hot, cold, and dead code.
letloop offered with the hope of being useable, useful, and used. If you think it fails at one of those, reach me at amirouche@hyper.dev.
This post was sponsored by my grand ma as known as: mother Lily of the valley.
home.