Organize source into compiler and runtime dirs
This commit is contained in:
parent
e480cf538d
commit
9618efd12a
46 changed files with 169 additions and 38 deletions
13
src/compiler/code_gen/c_code.h
Normal file
13
src/compiler/code_gen/c_code.h
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue