@hctoolkit/tools

0.0.7 • Public • Published

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 ]


Readme

Keywords

Package Sidebar

Install

npm i @hctoolkit/tools

Weekly Downloads

1

Version

0.0.7

License

GPL-3.0+

Unpacked Size

35.5 kB

Total Files

4

Last publish

Collaborators

  • galactrax