buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.2k stars 34 forks source link

Proper cli #48

Closed giann closed 2 years ago

giann commented 2 years ago
👨‍🚀 buzz A small/lightweight typed scripting language written in Zig

usage: buzz [options] [command] script.buzz [args]

Available options are:
    --dump                      Dump bytecode
    --dump-ast                  Dump AST tree
    --debug                     Show debug logs
    --debug-stack               Dump stack after each executed bytecode
    --debug-gc                  Show GC related logs
    --debug-current-instruction Show bytecode being executed
    --debug-perf                Show time to parse, codegen and run the script
    --debug-stop-on-report      Stop compiling on the first encountered error

Available commands are:
    version Print version number and exit
    test    Run test blocks in the provided script
    run     (default) Run script