d1b59ca5af
- Added an even simpler grammar to ease debugging while getting the lib into a working state. - Added helper template is<> to ease frequent type checks (for value types, ref types and shared_ptr). Added some unit tests for that as well. - Changed the MurmurHash::hashCode() function to take shared_ptr as this is the only variant we need. Had to change the MurmurHash unit tests for that. - Removed conflicting IntStream::_EOF (and other variants). We use the C runtime EOF value instead. - Changed all references to semantic contexts, prediction context and the prediction context cache to use shared_ptr<>. Created *Ref typedefs to simplify usage. - Adjusted the C++ string templates for that. - Fixed a number of memory leaks + some cleanup. |
||
---|---|---|
.. | ||
Linux | ||
Mac | ||
Windows | ||
ST-4.0.8.jar | ||
TLexer.g4 | ||
TParser.g4 | ||
Test.g4 | ||
generate.sh |