summaryrefslogtreecommitdiff
path: root/test/programs/index.ts
blob: fae3b5922b3e0f76f7b46f9364b02a3be951d17f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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();
}