@jacksontian/skyline
v1.3.0
Published
Base Lexer & Parser
Downloads
21,697
Readme
skyline
Base class for Lexer/Parser.
Usage
For Lexer:
const { BaseLexer } = require('@jacksontian/skyline');
class Lexer extends BaseLexer {
constructor(source, filename) {
super(source, filename);
}
}
For Parser:
const { BaseParser } = require('@jacksontian/skyline');
class Parser extends BaseParser {
constructor(lexer) {
super(lexer);
}
}
License
The MIT license.