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

Function parseArith

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

Source from the content-addressed store, hash-verified

502}
503
504export function parseArith(code: string) {
505 return subsetSystem(
506 parse(code),
507 ["Boolean", "Number"],
508 ["true", "false", "if", "number", "add"],
509 );
510}
511
512export function parseBasic(code: string) {
513 return subsetSystem(

Callers 1

arith_test.tsFile · 0.90

Calls 2

subsetSystemFunction · 0.70
parseFunction · 0.70

Tested by

no test coverage detected