@hctoolkit/tools
v0.0.7
Published
Hydrocarbon Tools
Downloads
2
Readme
Hydrocarbon Toolkit Tools
Sub-Commands
disassemble
hc.tools disassemble [--o <Output Directory Path>]? [--browse]? <path_to_hcs>
Create a Bytecode sheet from a Hydrocarbon States file (*.hcs).
If a <path_to_hcs> is not specified, then input from stdin read.
Arguments:
<path_to_hcs>
Accepted values: [ stdin | File Path ]
o
--o <Output Directory Path>
Accepted values: [ stdout | File Path ]
Directory within which files will be created/overwritten. Defaults to CWD. If the directory path is not terminated with a forward slash '/', then the last path part is taken to mean the filename of the output. Otherwise, the filename of the source grammar file will be used.
All output files will have the extension "*.hcgr".
browse
--browse
Open the bytecode sheet in the default browser.
railroad
hc.tools railroad <*Path to .hcgr>
Create a Bytecode sheet from a Hydrocarbon Grammar Resource file (*.hcgr)
Arguments:
<*Path to .hcgr> REQUIRED
Accepted values: [ stdin | File Path ]
fuzz
hc.tools fuzz <*Path to .hcgr>
Create a random string from a Hydrocarbon Grammar Resource file (*.hcgr)
Arguments:
<*Path to .hcgr> REQUIRED
Accepted values: [ stdin | File Path ]