This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ============================================================================ | |
| // MUX Softcode Grammar — PEG.js / Peggy | |
| // | |
| // Parses TinyMUX 2.x / PennMUSH softcode stored in attribute values. | |
| // Produces a typed AST suitable for analysis, transformation, and linting. | |
| // | |
| // Allowed start rules: "Start" (attribute value), "LockExpr" (lock key) | |
| // | |
| // Install Peggy: npm install -g peggy | |
| // Compile: peggy --allowed-start-rules Start,LockExpr mux-softcode.pegjs |
OlderNewer