6.5.4 • Published 24 days ago

esther-medina-quintero-parser-nearley v6.5.4

Weekly downloads
-
License
ISC
Repository
github
Last release
24 days ago

Open in Codespaces

Egg Parser

Egg Language utility. Translates egg programs into ASTs.

Installation

npm i esther-medina-quintero-parser-nearley

Usage from code:

const { parseFromFile } = require('esther-medina-quintero-parser-nearley')
const example_file = "./testFile.txt"

console.log("Original Code: \n", example_code);
console.log("AST generated from code: \n", parseFromFile(example_code));

Usage as executable:

An input file must be specified. You also may or may not specify an output file. If not given, it will default to the original file's name, with a .json extension.

npx eggc input_file --o output_file

Examples

You can check various examples in the examples/ directory.

Author

alu0101434780 (Esther M. Quintero) - GitHub Profile

Tests

npm run test

Version History

1.0.0 Initial Release 1.0.1 Added module documentation 1.0.2 Minor fixes 1.0.3 Added the parser 1.0.4 Added the builds 1.0.5 Added the tests 1.0.6 Documentation 1.1.0 Added new features 2.0.0 Breaking changes

5.0.0

24 days ago

6.1.0

24 days ago

6.0.0

24 days ago

6.3.0

24 days ago

3.0.0

24 days ago

6.2.0

24 days ago

6.5.0

24 days ago

6.4.0

24 days ago

6.5.2

24 days ago

6.5.1

24 days ago

6.5.4

24 days ago

6.5.3

24 days ago

4.0.0

24 days ago

2.0.0

2 months ago

1.0.0

2 months ago