diff options
| author | Cody <cody@codyq.dev> | 2023-06-07 03:28:40 -0500 |
|---|---|---|
| committer | Cody <cody@codyq.dev> | 2023-06-07 03:28:40 -0500 |
| commit | 6f6613419f1511c5637c9f69b3caa5ae838270b9 (patch) | |
| tree | e203d6cdc0eb2140ae6f0a430e76f2992de66bec /test.sloth | |
| parent | 25c5ccb29a6f2387a04bfb5d50874e00084c15d6 (diff) | |
| download | sloth-6f6613419f1511c5637c9f69b3caa5ae838270b9.tar.gz | |
Moving over from a VM interpreter to natively compiled w/ LLVM
Diffstat (limited to 'test.sloth')
| -rw-r--r-- | test.sloth | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test.sloth b/test.sloth new file mode 100644 index 0000000..8ad1754 --- /dev/null +++ b/test.sloth @@ -0,0 +1,7 @@ +fn add(x, y) { + return x + y; +} + +fn subtract(x, y) { + return x - y; +} |
