0.0.6 • Published 2 months ago
tekken-parser v0.0.6
Installing
npm
npm i tekken-parser
Yarn
yarn add tekken-parser
Usage
import { parseTekkenNotation } from "tekken-parser";
const tree = parseTekkenNotation('d/f 1+2, SEN 2, 3, 4; f+3, 4, 3+4');
Contributing
Setup
- Clone the repository
npm install
- Install ANTLR4
pip install antlr4-tools
npm run watch
Notes
- There is currently no watch mode for the ANTLR4 grammar (
TekkenNotation.g4
).
TODO
- Optional moves
Credit
Tekken Parser Monorepo
This project was forked off the parser in this monorepo. The initial goal was to let the parser be used as a standalone package.
More improvements have been made since then, especially around grammar flexibility.