0.0.7 • Published 2 years ago

@hctoolkit/tools v0.0.7

Weekly downloads
-
License
GPL-3.0+
Repository
github
Last release
2 years ago

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:

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: [ <span style="color:green">stdin</span> | 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: [ <span style="color:green">stdin</span> | File Path ]