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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.761latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.761
0.0.740
0.0.730
0.0.720
0.0.710
0.0.700
0.0.690
0.0.680
0.0.670
0.0.660
0.0.650
0.0.640
0.0.620
0.0.610
0.0.600
0.0.590
0.0.570
0.0.560
0.0.550
0.0.540
0.0.530
0.0.520
0.0.510
0.0.490
0.0.480
0.0.470
0.0.460
0.0.450
0.0.440
0.0.430
0.0.420
0.0.410
0.0.400
0.0.390
0.0.380
0.0.370
0.0.360
0.0.350
0.0.340
0.0.320
0.0.310
0.0.300
0.0.290
0.0.280
0.0.270
0.0.260
0.0.250
0.0.240
0.0.230
0.0.220
0.0.210
0.0.200
0.0.190
0.0.180
0.0.170
0.0.160
0.0.150
0.0.140
0.0.130
0.0.120
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20

Package Sidebar

Install

npm i script-parser

Weekly Downloads

1

Version

0.0.76

License

ISC

Unpacked Size

2.11 MB

Total Files

50

Last publish

Collaborators

  • moemoepupil
  • pranshu22