@hctoolkit/asytrip

0.0.9 • Public • Published

Hydrocarbon Abstract Syntax Tree Toolkit

Sub-Commands

compile

hc.asytrip compile [--o <Output Path>]? [--t <Target Language>]? <*Path to .hcgr>

Compile an ASYtrip AST from a Hydrocarbon grammar resource file (.hcgr)

Arguments:

  • <*Path to .hcgr>

    Accepted values: [ stdin | File Path ]

  • o

    --o <Output Path>

    Accepted values: [ stdout | File Path ]

    Filepath to the output file that will be created/overwritten. May also specify [stdout] to output to terminal buffer.

  • t

    --t <Target Language>

    Accepted values: [ rust | go | ts ]

    Target language to write the AST in.


Readme

Keywords

Package Sidebar

Install

npm i @hctoolkit/asytrip

Weekly Downloads

1

Version

0.0.9

License

GPL-3.0+

Unpacked Size

34.9 kB

Total Files

4

Last publish

Collaborators

  • galactrax