/heta-parser

Parsing of heta-language files.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Heta project Autotests Coverage Status NPM version GitHub license

Heta parser

Parsing of the Heta language code in JavaScript.

This is part of Heta project project.

Usage in JavaScript

const { parse } = require('heta-parser');

let content = 'k1 @Const = 1; one::A @Species {compartment: c1};';
let res = parse(content);

Console

To create json from heta-file

npm i -g heta-parser
heta run ./path/to/file.heta >> output.json

Copyright

© 2019-2024 Heta project