Home /Examples/lib/examples/sleela/CLI-02-source-and-artifact.md

CLI-02-source-and-artifact.md

lib/examples/sleela/CLI-02-source-and-artifact.md · 16 line(s) · markdown

Source and Core artifact lifecycle

sleela version
sleela check CLASSIC-hello-world.sleela
sleela run CLASSIC-hello-world.sleela
sleela compile CLASSIC-hello-world.sleela -o /tmp/hello.sleela
sleela validate-artifact /tmp/hello.sleela
sleela run /tmp/hello.sleela

check validates source without executing it. compile creates a persistent runnable Core artifact. validate-artifact checks its ABI/format. run executes supported source or an artifact. A passing check does not prove that runtime behavior is correct.