0.0.6 • Published 2 months ago

tekken-parser v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

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

  1. Clone the repository
  2. npm install
  3. Install ANTLR4
    1. pip install antlr4-tools
  4. 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.

0.0.6

2 months ago

0.0.5

2 months ago

0.0.4

2 months ago

0.0.3

2 months ago

0.0.2

2 months ago

0.0.1

2 months ago