zion-lexer
v0.0.7
Published
A Lexer for COBOL creating an Tokens
Downloads
8
Readme
zion-lexer
A typescript Lexer 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-lexer
const zionLexer = require('zion-lexer');
console.log(zionLexer.lex(' 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)