Skip to main content

Module precompile

Module precompile 

Source
Expand description

Implementation of the harn precompile subcommand.

Walks a file or directory tree, compiles every .harn file into a .harnbc artifact, and either writes it adjacent to the source or mirrors the directory layout under --out. The on-disk artifact is the same format the runtime cache writes, so a shipped .harnbc beside its source elides parse+compile in the runtime loader.

Functions§

run