From 567f2bd17c05d31cd8a9b9d351f9030cddf53cb7 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 9 Jul 2014 15:26:00 +0200 Subject: c++ implementation --- fast/grammar.hh | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 fast/grammar.hh (limited to 'fast/grammar.hh') 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 +#include + +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 + -- cgit v1.2.3