| Crates.io | cambridge-asm-cli |
| lib.rs | cambridge-asm-cli |
| version | 0.16.0 |
| created_at | 2022-02-26 15:04:54.379218+00 |
| updated_at | 2024-11-21 06:09:33.069695+00 |
| description | Run pseudoassembly from Cambridge International syllabus 9618 |
| homepage | |
| repository | https://github.com/SaadiSave/cambridge-asm |
| max_upload_size | |
| id | 539977 |
| size | 29,036 |
Command line interface to execute pseudoassembly programs
casm -hCambridge Pseudoassembly Interpreter x.y.z
Saadi Save <github.com/SaadiSave>
Run pseudoassembly from Cambridge International syllabus 9618 (2021)
USAGE:
casm <SUBCOMMAND>
OPTIONS:
-h, --help Print help information
-V, --version Print version information
SUBCOMMANDS:
compile Compile pseudoassembly
help Print this message or the help of the given subcommand(s)
run Run compiled or plaintext pseudoassembly
casm help runRun compiled or plaintext pseudoassembly
Usage: casm run [OPTIONS] <PATH>
Arguments:
<PATH> Path to the input file containing compiled or plaintext pseudoassembly
Options:
-v, --verbose... Increase logging level
-t, --bench Show execution time
-f, --format <FORMAT> Format of input file [default: pasm] [possible values: pasm, json, ron, yaml, cbor]
-h, --help Print help
casm help compileCompile pseudoassembly
Usage: casm compile [OPTIONS] <INPUT>
Arguments:
<INPUT> Path to the input file containing pseudoassembly
Options:
-o, --output <OUTPUT> Path to output file
-v, --verbose... Increase logging level
-f, --format <FORMAT> Format of output file [default: json] [possible values: json, ron, yaml, cbor]
-m, --minify Minify output
-d, --debug Include debuginfo
-h, --help Print help
OFF by default-v = WARN: Enable warnings-vv = INFO: Enable info logs-vvv = DEBUG: Enable debugging logs-vvvv = TRACE: Trace execution line by lineWARNArithmetic overflows are logged as warnings.
INFOGeneral status is logged as info.
DEBUGSteps in the parsing procedure and internal structs created are shown in debug logs
TRACELine-by-line execution is logged