@homebots/espresso-compiler
v1.9.2
Published
Compiler for Espresso language used by Homebots VM
Downloads
11
Readme
Espresso compiler
Compiler for Espresso language, used by HomeBots VM
Usage
npx @homebots/espresso-compiler <input> <output-format>
<input>
: A script file, or -
to read from stdin
<output-format>
: One of the Node.js Buffer string formats (hex, utf8, base64...), or specify js
to output a valid JS module with an array of bytes with the program
npx @homebots/espresso-compiler path/to/file.esp hex
cat file.esp | npx @homebots/espresso-compiler - js