26 lines
750 B
TypeScript
26 lines
750 B
TypeScript
import { join } from 'path';
|
|
|
|
export namespace TestPrograms {
|
|
export const AddOneThree = Bun.file(
|
|
join(import.meta.dir, 'add-1-3.cps'),
|
|
).text();
|
|
export const PrimopScope = Bun.file(
|
|
join(import.meta.dir, 'primop-scope.cps'),
|
|
).text();
|
|
export const Branching = Bun.file(
|
|
join(import.meta.dir, 'branching.cps'),
|
|
).text();
|
|
export const StringEquality = Bun.file(
|
|
join(import.meta.dir, 'string-equal.cps'),
|
|
).text();
|
|
export const StringInEquality = Bun.file(
|
|
join(import.meta.dir, 'string-unequal.cps'),
|
|
).text();
|
|
export const Application = Bun.file(
|
|
join(import.meta.dir, 'application.cps'),
|
|
).text();
|
|
export const RecordConstruction = Bun.file(
|
|
join(import.meta.dir, 'record.cps'),
|
|
).text();
|
|
}
|