summaryrefslogtreecommitdiffstats
path: root/compile.h
diff options
context:
space:
mode:
authorStephen Dolan <mu@netsoc.tcd.ie>2012-11-26 01:36:55 +0000
committerStephen Dolan <mu@netsoc.tcd.ie>2012-11-26 01:36:55 +0000
commit4747f8681b3442af8b7916ac5bdfec712662c49b (patch)
tree0d1ba536855389ac1059f1cc89e23074bd03a292 /compile.h
parent3e3fe5195947a0af711959e2dedc9c84a697c5fb (diff)
Transparent handling for CBV arguments to C functions.
C function arguments closures are inlined before the call.
Diffstat (limited to 'compile.h')
-rw-r--r--compile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/compile.h b/compile.h
index d9ed654e..c8a326da 100644
--- a/compile.h
+++ b/compile.h
@@ -23,10 +23,11 @@ block gen_op_target(opcode op, block target);
block gen_op_var_unbound(opcode op, const char* name);
block gen_op_var_bound(opcode op, block binder);
block gen_op_block_unbound(opcode op, const char* name);
-block gen_op_call(opcode op, block arglist);
block gen_op_symbol(opcode op, const char* name);
block gen_function(const char* name, block body);
+block gen_lambda(block body);
+block gen_call(const char* name, block body);
block gen_subexp(block a);
block gen_both(block a, block b);
block gen_collect(block expr);