zion-parser
v0.2.1
Published
A parser/Lexer for COBOL creating an AST
Downloads
8
Readme
zion-parser
A typescript parser implementation for COBOL
Note: This is currently just for trying out JS/TS myself and playing around with CI etc (therefore public) & shouldn't be used anywhere productive
Anyways if you want to try it:
$ npm install --save zion-parser
const zionParser = require('zion-parser');
console.log(zionParser.parse(' IDENTIFICATION DIVISION.', { fromPath: false }));
Development (Notes)
$ npm install - Install dependencies
$ npm build - Compiles Typescrip
$ npm test - Run unit tests
$ npm run mocktest - Run mock tests
$ npm run masstest - Run mass tests (currently not implemented)
$ npm version [major|minor|patch] - Increase npm version (including linting, etc.)
$ npm publish - Publishes new version to npm (including linting, testing, etc.)
$ npm lint - Linter
$ npm format - Formater
$ npm clean - clean project (prior npm install state)