CBCL / DocumentationDocs v0.3.1

Examine CBCL at the terminal

Install the command-line toolkit with Cargo:

cargo install cbcl-cli --version 0.3.1 --locked
On this page

Read a message

cbcl-cli parse '(tell @bob "hello")'

The command prints the parsed message as JSON. Examine the recipient and the body in the output.

Check a dialect file

Save the greeting definition from the Rust quickstart or the JavaScript quickstart as plain CBCL in greeting.cbcl. Read it on standard input:

cbcl-cli verify < greeting.cbcl

The report gives the dialect name, the number of verbs, and the resource limits. If a check fails, the command returns a nonzero exit status. A build script can use this status to stop the build. Use the registry to install a dialect in an application.