Added generator-dependent compilation and simple passthrough that allows us to have non-cheated emitted, printing c-code for the first time! (no typechecking or anything yet, but we'll get there). It's also still rough.
This commit is contained in:
@@ -16,6 +16,7 @@ class CGenerator {
|
||||
~CGenerator();
|
||||
std::string generate(NodeTree<ASTData>* from);
|
||||
static std::string ValueTypeToCType(ValueType type);
|
||||
std::string generatorString;
|
||||
private:
|
||||
std::string tabs();
|
||||
int tabLevel;
|
||||
|
||||
Reference in New Issue
Block a user