diff options
Diffstat (limited to 'test/programs')
-rw-r--r-- | test/programs/add-1-3.cps | 2 | ||||
-rw-r--r-- | test/programs/index.ts | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/test/programs/add-1-3.cps b/test/programs/add-1-3.cps new file mode 100644 index 0000000..95b9939 --- /dev/null +++ b/test/programs/add-1-3.cps @@ -0,0 +1,2 @@ +PRIMOP(+, [INT 1, INT 2], [u], + [APP(LABEL identity, [VAR u])])
\ No newline at end of file diff --git a/test/programs/index.ts b/test/programs/index.ts new file mode 100644 index 0000000..e0403fd --- /dev/null +++ b/test/programs/index.ts @@ -0,0 +1,7 @@ +import { join } from 'path'; + +export namespace TestPrograms { + export const AddOneThree = Bun.file( + join(import.meta.dir + '/add-1-3.cps'), + ).text(); +} |