diff options
Diffstat (limited to 'src/compile.cpp')
-rw-r--r-- | src/compile.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/compile.cpp b/src/compile.cpp index 70056db..f5a4128 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -32,6 +32,18 @@ COMPILE_LITERAL(float); COMPILE_LITERAL(bool); CVal +AString::compile(CEnv& cenv) throw() +{ + return cenv.engine()->compileString(cenv, c_str()); +} + +CVal +ALexeme::compile(CEnv& cenv) throw() +{ + return cenv.engine()->compileString(cenv, c_str()); +} + +CVal ASymbol::compile(CEnv& cenv) throw() { if (cenv.vals.topLevel(this) && cenv.type(this)->head()->str() != "Fn") { |