Parsing of the Heta language code in JavaScript.
This is part of Heta project project.
const { parse } = require('heta-parser');
let content = 'k1 @Const = 1; one::A @Species {compartment: c1};';
let res = parse(content);
To create json from heta-file
npm i -g heta-parser
heta run ./path/to/file.heta >> output.json
© 2019-2024 Heta project