diff options
author | Patrick Simianer <p@simianer.de> | 2014-07-09 15:26:00 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-07-09 15:26:00 +0200 |
commit | 567f2bd17c05d31cd8a9b9d351f9030cddf53cb7 (patch) | |
tree | 390d1c28de381849ae9331b433695f5fb389d440 /fast/grammar.hh | |
parent | a3f9fb73ffe4f942851ff496a72ca2445ffd9e0a (diff) |
c++ implementation
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 + |