7个版本 (4个破坏性更新)
0.15.1 | 2023年5月8日 |
---|---|
0.15.0 | 2023年5月5日 |
0.14.0 | 2022年7月14日 |
0.13.0 | 2022年4月10日 |
0.11.2 | 2022年2月26日 |
484 在 编程语言 中排名
每月31次下载
105KB
2.5K SLoC
cambridge-asm-cli
执行伪汇编程序的命令行界面
用法
casm-h
Cambridge 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 run
casm-run
Run compiled or plaintext pseudoassembly
USAGE:
casm run [OPTIONS] <PATH>
ARGS:
<PATH> Path to the input file containing compiled or plaintext pseudoassembly
OPTIONS:
-f, --format <FORMAT> Format of input file [default: pasm] [possible values: pasm, json, ron,
yaml, bin]
-h, --help Print help information
-t, --bench Show execution time
-v, --verbose Increase logging level
casm help compile
casm-compile
Compile pseudoassembly
USAGE:
casm compile [OPTIONS] <INPUT>
ARGS:
<INPUT> Path to the input file containing pseudoassembly
OPTIONS:
-f, --format <FORMAT> Format of output file [default: json] [possible values: json, ron,
yaml, bin]
-h, --help Print help information
-m, --minify Minify output
-o, --output <OUTPUT> Path to output file
-v, --verbose Increase logging level
日志级别
OFF
默认-v
=WARN
:启用警告-vv
=INFO
:启用信息日志-vvv
=DEBUG
:启用调试日志-vvvv
=TRACE
:逐行跟踪执行
WARN
算术溢出作为警告记录。
INFO
一般状态作为信息记录。
DEBUG
解析过程步骤和创建的内部结构在调试日志中显示
TRACE
逐行执行记录
依赖项
~9–18MB
~220K SLoC