diff options
author | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-02-23 17:27:16 -0700 |
---|---|---|
committer | Elizabeth Hunt <elizabeth.hunt@simponic.xyz> | 2024-02-23 17:27:16 -0700 |
commit | e8e9ee18f29b2557fdc514c4322f5446484c4d58 (patch) | |
tree | 1d44fde6ca06f4c377d5cbf3d5ec9b31746ef012 /test/parser.spec.ts | |
parent | d0d6aae1e56428f597f69f5c9cfb261afe671f5d (diff) | |
download | cps-interpreter-e8e9ee18f29b2557fdc514c4322f5446484c4d58.tar.gz cps-interpreter-e8e9ee18f29b2557fdc514c4322f5446484c4d58.zip |
simple parser
Diffstat (limited to 'test/parser.spec.ts')
-rw-r--r-- | test/parser.spec.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/parser.spec.ts b/test/parser.spec.ts new file mode 100644 index 0000000..e174383 --- /dev/null +++ b/test/parser.spec.ts @@ -0,0 +1,7 @@ +import { expect, test } from 'bun:test'; +import { TestPrograms } from './programs'; +import { peggyParse } from '@/parser'; + +test('Primitive Operations', async () => { + const ast = peggyParse(await TestPrograms.AddOneThree); +}); |