From 6ffa3538cfeb5a97e967544bfbbcf907f4aa565f Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 30 Jul 2022 13:31:05 -0700 Subject: Add call-builtin syntax. This syntax allows calling opcodes directly from scheme code. Very powerful technique. --- csc/ir2.csc | 1 + 1 file changed, 1 insertion(+) (limited to 'csc/ir2.csc') 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 (make-primitive operation arguments results continuation) primitive? -- cgit v1.3.1