summaryrefslogtreecommitdiff
path: root/src/compiler.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-04-01 10:24:42 -0400
committerAdrian Thurston <thurston@complang.org>2015-04-01 10:24:42 -0400
commit24e144ea5fd1275bf6c864455b2dd4d96e589363 (patch)
tree5c35d484904e32626a862bd5784b882a4f27d4b8 /src/compiler.h
parent03e0f380a472db828c3bd5ae481a6b1c10fed3d0 (diff)
downloadcolm-24e144ea5fd1275bf6c864455b2dd4d96e589363.tar.gz
first cut of C extensions
Diffstat (limited to 'src/compiler.h')
-rw-r--r--src/compiler.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/compiler.h b/src/compiler.h
index fd2fb14d..178ed5a8 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -793,6 +793,7 @@ struct Compiler
void resolveMapElementOf( ObjectDef *container, ObjectDef *obj, ElementOf *elof );
void resolveElementOf( ObjectDef *obj );
void makeFuncVisible( Function *func, bool isUserIter );
+ void makeInHostVisible( Function *func );
void declareFunction( Function *func );
void declareReductionCode( Production *prod );
@@ -802,6 +803,7 @@ struct Compiler
void declareByteCode();
void resolveFunction( Function *func );
+ void resolveInHost( Function *func );
void resolvePreEof( TokenRegion *region );
void resolveRootBlock();
void resolveTranslateBlock( LangEl *langEl );
@@ -952,7 +954,9 @@ struct Compiler
int nextGenericId;
FunctionList functionList;
+ FunctionList inHostList;
int nextFuncId;
+ int nextHostId;
enum CompileContext {
CompileTranslation,