diff options
Diffstat (limited to 'fast/grammar.hh')
-rw-r--r-- | fast/grammar.hh | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/fast/grammar.hh b/fast/grammar.hh new file mode 100644 index 0000000..5625b85 --- /dev/null +++ b/fast/grammar.hh @@ -0,0 +1,33 @@ +#ifndef GRAMMAR_HH +#define GRAMMAR_HH + +#include <string> +#include <sstream> + +using namespace std; + +namespace Grammar { + + +class NT { + public: + string symbol; + unsigned int index; + + string s(); +}; + +class T { + public: + string word; +}; + +class Rule { + public: +}; + + +} // namespace + +#endif + |