(code: string)
| 518 | } |
| 519 | |
| 520 | export function parseExtended(code: string) { |
| 521 | return subsetSystem( |
| 522 | parse(code), |
| 523 | ["Boolean", "Number", "Func", "Object", "TaggedUnion"], |
| 524 | [ |
| 525 | "true", |
| 526 | "false", |
| 527 | "if", |
| 528 | "number", |
| 529 | "add", |
| 530 | "var", |
| 531 | "func", |
| 532 | "call", |
| 533 | "seq", |
| 534 | "const", |
| 535 | "objectNew", |
| 536 | "objectGet", |
| 537 | "taggedUnionNew", |
| 538 | "taggedUnionGet", |
| 539 | "recFunc", |
| 540 | ], |
| 541 | ); |
| 542 | } |
| 543 | |
| 544 | export function parseSub(code: string) { |
| 545 | return subsetSystem( |
nothing calls this directly
no test coverage detected