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

Function parseBasic

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

Source from the content-addressed store, hash-verified

510}
511
512export function parseBasic(code: string) {
513 return subsetSystem(
514 parse(code),
515 ["Boolean", "Number", "Func"],
516 ["true", "false", "if", "number", "add", "var", "func", "call", "seq", "const"],
517 );
518}
519
520export function parseExtended(code: string) {
521 return subsetSystem(

Callers 1

basic_test.tsFile · 0.90

Calls 2

subsetSystemFunction · 0.70
parseFunction · 0.70

Tested by

no test coverage detected