MCPcopy Create free account
hub / github.com/LambdaNote/support-ts-tapl / parseRec

Function parseRec

article/utils.ts:552–558  ·  view source on GitHub ↗
(code: string)

Source from the content-addressed store, hash-verified

550}
551
552export function parseRec(code: string) {
553 return subsetSystem(
554 parse(code),
555 ["Boolean", "Number", "Func", "Rec", "TypeVar"],
556 ["true", "false", "if", "number", "add", "var", "func", "call", "seq", "const"],
557 );
558}
559
560export function parseRec2(code: string) {
561 return subsetSystem(

Callers

nothing calls this directly

Calls 2

subsetSystemFunction · 0.70
parseFunction · 0.70

Tested by

no test coverage detected