diff options
| author | Rose Hogenson <rhogenson@posteo.net> | 2022-07-30 13:31:05 -0700 |
|---|---|---|
| committer | Rose Hogenson <rhogenson@posteo.net> | 2022-07-30 13:31:19 -0700 |
| commit | 6ffa3538cfeb5a97e967544bfbbcf907f4aa565f (patch) | |
| tree | 691d7b73e47c8c07acbf3fef5cee11d76bb34a52 /csc/ir2.csc | |
| parent | 0632650d0e4250e08a76982ab2713a34e3531b33 (diff) | |
| download | chromatopelma-6ffa3538cfeb5a97e967544bfbbcf907f4aa565f.tar.zst | |
Add call-builtin syntax.
This syntax allows calling opcodes directly from scheme code.
Very powerful technique.
Diffstat (limited to 'csc/ir2.csc')
| -rw-r--r-- | csc/ir2.csc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/csc/ir2.csc b/csc/ir2.csc index 800d3c0..888437f 100644 --- a/csc/ir2.csc +++ b/csc/ir2.csc @@ -150,6 +150,7 @@ ; - alloc: size -> result ; - peek: pointer * offset -> result ; - poke: word * pointer * offset -> () + ; - exit: code -> () (define-match-record-type <primitive> (make-primitive operation arguments results continuation) primitive? |
