@jacksontian/skyline
v1.3.0
Published
Base Lexer & Parser
Downloads
40,420
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.