Organize source into compiler and runtime dirs

This commit is contained in:
Max Brunsfeld 2013-12-15 23:57:30 -08:00
parent e480cf538d
commit 9618efd12a
46 changed files with 169 additions and 38 deletions

View file

@ -0,0 +1,13 @@
#ifndef __tree_sitter__code_generator__
#define __tree_sitter__code_generator__
#include "grammar.h"
#include "parse_table.h"
namespace tree_sitter {
namespace code_gen {
std::string c_code(const Grammar &grammar, const lr::ParseTable &parse_table);
}
}
#endif