(code: string)
| 497 | } |
| 498 | |
| 499 | export function parse(code: string): Term { |
| 500 | const node = p.parse(code, { allowInvalidAST: false, loc: true }); |
| 501 | return convertProgram(node.body); |
| 502 | } |
| 503 | |
| 504 | export function parseArith(code: string) { |
| 505 | return subsetSystem( |
no test coverage detected