script-parser
TypeScript icon, indicating that this package has built-in type declarations

0.0.76 • Public • Published

script-parser

ts library for lexical analysis and parser image

Something useful

jison debugger
jison docs

Overview

the script-parser is a parser for the moddio2 game engine

🚧 _This project is under heavy development, and is currently lacking both features and docs / usability polish.

Usage

pnpm add script-parser
import { parser, actionToString } from "script-parser"
console.log(parser.parse('hello script-parser'));
console.log(actionToString({
    o: parser.parse('hello script-parser'),
    defaultReturnType: '',
    gameData: { unitTypes: {} },
    parentKey: ''
}))

Feature List

  • converter
    • [x] string to moddio2 script object
    • [x] moddio2 script object to string

Compatible moddio2 versions

it's still beta, use the latest version plz

Dependents (1)

Package Sidebar

Install

npm i script-parser

Weekly Downloads

8

Version

0.0.76

License

ISC

Unpacked Size

2.11 MB

Total Files

50

Last publish

Collaborators

  • moemoepupil
  • pranshu22