@hctoolkit/asytrip
v0.0.9
Published
Hydrocarbon Toolkit AST Compiler
Downloads
2
Readme
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.