forked from jasder/antlr
baef9b0b32
While testing Interval() and Interval::of() I found that the latter is twice as slow as the normal object creation. Seems caching single element intervals doesn't have the same impact as in Java (quite the opposite), so I removed Interval::off and the interval cache. The MurmurHash implementation was actually for a 32bit platform, so I added a 64 bit version too (stripped down from 128 bit MurmurHash3). Tests cannot directly check the correctness of the algorithm, but duplicate checks over 300K hashs (for short input, which is more prone to duplicates than longer input) showed there are no duplicates. So I take it that the code is good. Fixed a hash creation bug in PredictionContext.cpp. |
||
---|---|---|
.. | ||
demo | ||
runtime | ||
License.txt | ||
README.md |
README.md
C++ target for ANTLR 4
This fork provides C++ runtime support for C++. See the canonical antlr4 repository for in depth detail about how to use Antlr4.
Authors and major contributors
ANTLR 4 is the result of substantial effort of the following people:
- Terence Parr, parrt@cs.usfca.edu ANTLR project lead and supreme dictator for life University of San Francisco
- Sam Harwell Tool co-author, Java and C# target)
The C++ target has been the work of the following people:
- Dan McLaughlin, dan.mclaughlin@gmail.com C++ Target project leader
- David Sisson, dsisson@google.com
- Mike Lischke, mike@lischke-online.de
Project Status
- Building on OS X, Windows, and Linux (Ubuntu)
- No errors and warnings
- Library linking
- Simple running (e.g. heap objects initialize properly)
- Simple testing (creating significiant objects)