cps-interpreter/test/programs/index.ts

23 lines
651 B
TypeScript
Raw Normal View History

2024-02-23 19:27:16 -05:00
import { join } from 'path';
export namespace TestPrograms {
export const AddOneThree = Bun.file(
2024-02-28 17:06:00 -05:00
join(import.meta.dir, 'add-1-3.cps'),
2024-02-23 19:27:16 -05:00
).text();
export const PrimopScope = Bun.file(
2024-02-28 17:06:00 -05:00
join(import.meta.dir, 'primop-scope.cps'),
).text();
2024-02-28 15:41:53 -05:00
export const Branching = Bun.file(
2024-02-28 17:06:00 -05:00
join(import.meta.dir, 'branching.cps'),
2024-02-28 15:41:53 -05:00
).text();
export const StringEquality = Bun.file(
2024-02-28 17:06:00 -05:00
join(import.meta.dir, 'string-equal.cps'),
).text();
export const StringInEquality = Bun.file(
2024-02-28 17:06:00 -05:00
join(import.meta.dir, 'string-unequal.cps'),
).text();
export const Application = Bun.file(
join(import.meta.dir, 'application.cps'),
).text();
2024-02-23 19:27:16 -05:00
}