Commit Graph

1928 Commits

Author SHA1 Message Date
Mike Lischke 6d9d52b45a Solving a tricky issue with prematurely released prediction contexts.
Sometimes in the prediction process temporary ATNConfig instances are created which either share their prediction context with other configs or get a new context which receives the context of another config as parent. Later in the process such temporary configs are released, but the set parent prediction context should stay alive as it is used later. Since there is no top level structure that would keep them alive we need a way to make them stay. For this effect the SinglePredictionContext (which is the only prediction context that keeps a parent reference) uses a shared_ptr instead of a weak_ptr for the parent reference.
2016-05-03 12:09:33 +02:00
Mike Lischke c9c294a729 2 smaller changes
- Changed the empty return state PredictionContext to max int (instead fixing it on int 16), like it's done in the Java runtime.
- Converted 2 static init lambdas in the Cpp.stg to normal code, as VS doesn't allow us to access private class members in such lambdas.
2016-05-02 18:41:10 +02:00
Mike Lischke 185e956f9e VS solution update + compile fixes after latest changes. 2016-05-02 13:50:57 +02:00
Mike Lischke 7b030d601f A C++ runtime fix that caused test parsing to fail with syntax error. 2016-05-01 17:48:18 +02:00
Mike Lischke 89093f7317 Some finetuning in template files for C++.
Also checked parameters for all rules in the template files as there were changes too.
2016-05-01 16:41:18 +02:00
Mike Lischke bfcb0a71cb Switching to current ANTLR revision, final part. 2016-05-01 12:41:32 +02:00
Mike Lischke d4ebdfa138 Switching to current ANTLR revision, part 3.
- Everything from atn + dfa subfolders is updated now.
- IntervalSet changed behavior a bit which needed updated unit tests.
2016-04-30 15:08:28 +02:00
Mike Lischke 99ada0550f We need recursive locks to synchronize access.
We can certainly revert to simple locks, but then have to do synchronization differently than the Java target does, which is not in the scope of the current work.
2016-04-30 13:14:57 +02:00
Mike Lischke 8cd043a6de Switching to current ANTLR revision, part 2.
- Finished adding all new ATN related classes (e.g. profiling infos, lexer actions).
- Introduced a global Ref<X> alias for std::shared_ptr<X>. The previous approach (defining a type individually for each class led to cyclic #includes).
- Converted all ::Ref typedefs and uses to the new Ref template (+ a number of std::shared_ptr<> occurances). Work in progress still, all those occurences will be converted for 100% consistency.
2016-04-30 12:29:50 +02:00
Renata Hodovan 54168905b0 Fix typo in the parser of the Python3 runtime.
The last parameter name of Parser::enterRule in the Python3 runtime
was mistakenly combined with its type. The patch fixes this.
2016-04-30 12:14:31 +02:00
Eric Vergnaud 2a2b6acba1 links update 2016-04-26 13:27:26 +08:00
parrt d430f495ea add comments to "dead" code in serializer. text from Sam Harwell. 2016-04-25 09:49:29 -07:00
Mike Lischke f8341c7820 Switching to current ANTLR revision, part 1.
- Removed rules no longer used in the Cpp.stg.
- Removed CppTarget.java in old place.
- Converted + added most new LexerAction* classes to XCode project.
- Added changes to a number of classes.
2016-04-24 17:55:51 +02:00
Mike Lischke e79f917437 Found a solution to make RVO in ATNDeserializer work.
Visual Studio needs a move constructor. The move assignment is not enough. No need for the copy constructor anymore, so it can go.
2016-04-24 12:12:45 +02:00
Mike Lischke 0e5b501aa8 Merge branch 'feature/templates' into feature/templates-org 2016-04-23 16:42:26 +02:00
Mike Lischke 014d9fd593 Merge branch 'master' into feature/templates 2016-04-23 16:05:10 +02:00
Mike Lischke 217bb23248 Build fix for OSX.
- After enabling the OSX specific variant in the Guid class we have to link to CoreFoundation.
2016-04-23 15:44:25 +02:00
Mike Lischke 5ab89e38bd Demo app on Windows is working now.
- Class ATN is currently leaking states (delete disabled in d-tor) until I have found a solution for the failing return value optimization from ATNDeserializer::deserialize().
- Added member init in BlockEndState.
2016-04-23 15:39:24 +02:00
Mike Lischke 77d0a6c32a Serialized ATN generation changed.
Originally the serialized ATN was coded as a wide string literal with embeded Unicode escapes (where necessary). This might fail on Windows however, as VS is very strict when checking Unicode code points and rejects compilation if it finds undefined code points. Hence this generation has been changed to hex numbers instead of that string literal.
2016-04-23 11:10:12 +02:00
Mike Lischke b2daab9477 antlr4cpp on Windows
- Solved all compilation issues. Updated the antlr4cpp library project. At the moment we only build a static lib. Need to add exports for a DLL. Since we want this library to be compatible with VS 2013 still, we cannot use std::rethrow_with_nested(), hence we do a simple unnested throw in such cases. Starting with VS 2015 this works fully then.
- Added demo application.
- Added parser generation script.
2016-04-23 11:03:30 +02:00
Mike Lischke e85385785e Simplified use of the demo project.
- The needed ANTLR jar is provided now, so it's not needed to build it yourself.
- The generate.sh script has been updated to use the new jar.
- Small update of the readme too.
2016-04-21 17:57:33 +02:00
Mike Lischke e8325623d9 Finished checking all memory allocations.
- All allocations are now checked for proper deallocation.
- Ran LLVM analyzer over the runtime but it found mostly valid stuff and did not find non-freed allocations I left undeleted by intention. So it's not worth much.
- Added move and copy assignment operator overloading, as well as a copy c-tor to ATN class to avoid a copy (and to be able to free content properly) after deserialization.
- Some clean up.
2016-04-20 17:51:24 +02:00
Mike Lischke f292d14abc The parser is parsing for the first time.
- Removed ultra simple test grammar + parser. No longer needed.
- Removed long list of keywords from (regular) test grammar.
- Fixed a number of toString() methods to get better debug output.
- Moved Ref typedefs from Declarations.h to the individual classes as defining them on the forward declarations totally confuses the XCode debugger.
- Removed reference to the owning ATN in an ATNState. We cannot guarantee to have the correct address there due to the way the states are created. The reference is not needed anyway.
- ATNDeserializationOptions now has verifyATN set by default (as in the Java target).
- Had to add a workaround for a weird situation: static initialization in ATNDeseralizer stopped working for no apparent reason. Need to investigate this.
- Added a few support methods to the CPPUtils, mostly to ease debug output creation.
- Added console listener by default to the listeners list (as done in the Java target).
- Fixed translation mistakes in the CommonTokenStream class.
- Fixed some memory leaks and exception handling bugs.
2016-04-17 13:13:15 +02:00
Mike Lischke eb0241f767 Another refactoring round.
- Removed a few unused classes.
- More raw pointers to smart pointers conversion: RuleContext, ParserRuleContext, ParseTree, Token, ParseTreeWalker, Tree...
- BitSet is now used directly instead of all those dynamic allocations and is a derived class instead of a composite.
- Replced ATNState equals with == operator overload.
- Correct wrong iterator over ATNConfigsets.
- Added utilitiy function that mimics Java's generic toString().
2016-04-13 19:05:56 +02:00
Mike Lischke 6f344b376b Fixed all ATNConfigSet memory leaks. 2016-04-09 17:39:38 +02:00
Mike Lischke 7f8ad7bd2d Applied consistent exception model and fixed is<> helper.
- Exceptions are now consistently thrown by value and captured by reference. C++11 exception_ptr and nested_exception are used when exception references are neeeded or when implementing the equivalent of Java's nesting.
- The is<> helper didn't handle properly (const) references, which is now explicitly handled. Added new unit tests for that.
- Fixed a number of places where a catch all was used to implement a "finally" (which hides exceptions).
- Changed exceptions to hold (temporary) raw pointers instead of shared pointers, as otherwise it is tried to free wrapped pointers which might just be references to static objects. Might later be updated again when we continue with removing raw pointers.
- Some smaller fixes.
- The generated simple parser now runs through without any error (yet, it doesn't do anything useful).

- ANTLR C++ target template:
  - Added getListener and genVisitor bool members to ANTLR's LexerFile + ParserFile classes, so can use them in the template.
  - Made addition of listener #include dependent on the new genListener member, which allows to run parser generation without listeners/visitors.
2016-04-09 16:36:52 +02:00
Mike Lischke 091c40899c Finished fixing all C++ TODOs and Java to C++ converter warnings.
Fixed again a few mem leaks.
2016-04-06 18:30:27 +02:00
Mike Lischke 8f2e95516b Removed StringBuilder + stringconverter code.
Both can easily be implement using STL code.
2016-04-06 16:28:05 +02:00
Mike Lischke 3d17066e0c Removed a few unnecessary pointer casts. 2016-04-06 15:12:47 +02:00
Mike Lischke d1b59ca5af Next overhaul (more TODOs fixed)
- 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.
2016-04-06 15:07:25 +02:00
Mike Lischke 1ca5b38868 Fixed some TODOs + exceptions.
- Reworked the exception hierarchy to conform with the Java hierarchy (where we mimic that). Ultimative base class is std::exception, which uses std::string (char* actually) for messages, so all exceptions use std::string for that as well. Consider that as first step to rework the entire lib to use std::string instead of std::wstring (with utf-8 for full Unicode support).
- Removed ASSERTException + TODOException and fixed the places where they were used.
- Removed ANTLRException, which was only an intermediate layer without an equivalent on Java side.
- Replaced some equals() calls by == (with defined operator overloading).
- Enhanced Arrays::equals() to ensure it compiles only if the actual types being compared support the != operator (both value + reference types).
- Made the Recognizer class template free by using plain polymorphism. Some adjustments were need also in the Cpp template to support that. Could convert the .inl file to .cpp then.
2016-03-31 18:32:44 +02:00
parrt b92f22769e [maven-release-plugin] prepare for next development iteration 2016-03-30 16:25:49 -07:00
parrt 567fcc6311 [maven-release-plugin] prepare release antlr4-master-4.5.3 2016-03-30 16:25:45 -07:00
parrt cd0913712a set code string versions to 4.5.3 2016-03-30 16:21:50 -07:00
parrt 3d21617e30 need blank ctor 2016-03-30 13:11:33 -07:00
Mike Lischke 29dedd17c4 New unit tests + template enhancements + more memory handling work
- Added IntervalSet unit tests. Fixed a few bugs found by that.
- Enhanced the demo grammar so that we use as many as possible template rules from Cpp.stg. Still not fully done it seems.
- Fixed bugs in size determination for arrays (vectors now).
- Simplified PredictionContext and SemanticContext (one template parameter less).
- Removed no longer used Utils.h/cpp. Fixed CPPUtils.h/cpp.
- Extended LexerXXCommand template rules to take a new grammar parameter (code gen has been updated) as we need this context in the Cpp target. This change requires to update all existing templates! Cannot do here as this is an old revision.
- Some cleanup.
2016-03-30 20:11:05 +02:00
parrt 9e98714a1d Add ability to set parse tree internal node super class with option contextSuperClass. Provide impl in Java target that has altNum backing field. Add test across targets to set/get alt num. Fixes #1152. 2016-03-30 11:00:47 -07:00
Terence Parr 9c440c5b89 Merge pull request #1139 from dtymon/06_fix_SemanticPredicate
JS: SemanticPredicate should be SemanticContext
2016-03-30 16:39:18 +00:00
Terence Parr 4deb708cd8 Merge pull request #1138 from dtymon/05_fix_OR_toString
JS: Fix copy-and-paste error in OR SemanticContext toString() method
2016-03-30 16:39:08 +00:00
Terence Parr 0c804f0a28 Merge pull request #1137 from dtymon/04_lexerActionExecutor_equals
JS: Do deep Actions array comparison in LexerActionExecutor equals()
2016-03-30 16:38:56 +00:00
parrt 90d753b08a Add getMaxTokenType for C# vocab object like https://github.com/antlr/antlr4/pull/1146 2016-03-29 16:14:53 -07:00
parrt ac1637c0bd add get max token type to vocab. 2016-03-29 16:02:33 -07:00
parrt 1356186f65 add get max token type to vocab. 2016-03-29 15:55:02 -07:00
parrt 41a196082d Merge branch 'master' of github.com:antlr/antlr4 2016-03-29 14:40:17 -07:00
parrt e4a4253219 more impl of get/set alt num; update doc 2016-03-28 14:10:29 -07:00
Martin Steiger 6ca812e255 Add Vocabulary.getMaxTokenType() 2016-03-28 22:08:31 +02:00
parrt fa10ca678f add method to RuleContext 2016-03-28 11:35:44 -07:00
Mike Lischke baef9b0b32 New unit tests for Interval + MurmurHash.
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.
2016-03-28 18:15:50 +02:00
Mike Lischke 3f78367457 Next overhaul
- Added first real unit test set and enable code coverage collection in XCode (for ANTLRInputStream).
- Reworked ANTLRFileStream::load, which is now more flexible (supports Unicode BOM + 3 possible encodings), can load from Unicode file names and has almost no platform code.
- Enabled strict data size and sign checks in XCode (clang) and fixed a million places...
- Started converting int to size_t where it makes more sense.
- Started working on const correctness.
- Fixed a ton of memory leaks.
- The ATN and ATNConfigSet classes now entirely work as value types. Same for Interval(Set). These seem to be the most critical data structures (ATNConfig + ATNState are pending).
- The abstract IntSet class is gone now.
- Murmur hash code now works with size_t instead of int (need to add unit tests for that).
- Fixed a number of TODOs and other smaller things.

- The Cpp template now properly handles grammar rule return values.
2016-03-27 22:01:03 +02:00
Mike Lischke bc81acba06 An attempt to cut the Gordian knot called Java generics, in C++.
- Reworked the ATNConfigSet + the config lookup implementation it uses. The new implementation no longer needs the hand written Array2DHashSet class but instead relies now on std::unordered_set with custom hasher and comparer classes.
- Fixed a bug where the ATNConfigSet was deriving from std::set while in the original Java code it only implements the Set interface (not the config set itself is a set but the config lookup is). As a consequence all iterations over ATNConfigSet now iterate over ATNConfigSet->configLookup.
- Removed the Any class as it didn't solve the problems we had mind.
- Removed the no longer necessary Array2DHashSet, AbstractEqualityComparer and ObjectEqualityComparer classes.
- Instead there is a new ConfigLookup implementation with a templated config lookup implementation.
- Removed ATNConfig::equals, as this is already implement in the == operator overloading. So the operator is used instead where needed.
2016-03-26 11:01:51 +01:00
Mike Lischke e97820a27e Reworked handling of ATN instances throught the code + definition of IRecognizer.
ATNs are top level structures, which are created and kept by parser/lexer classes (or their simulator equivalents). Hence there are now value types in their controlling class and passed around as const &.

IRecognizer was a template class without real need, which has been changed to make it a simple interface easily usable without having to find C++ hacks for fancy Java wildcard generics.
2016-03-24 11:49:44 +01:00
Mike Lischke 2aa40c779e Removed the need for a separate VectorHelper class + other improvements.
Some cleanup too.
2016-03-22 17:55:57 +01:00
Mike Lischke 9006d241fa Introduced the Any class (based on some public domain code).
The Any class is loosly modelled after boost::Any and allows us to use equals() and hashCode() functions to be used where we have no common base class (like Java's Object class). By introducing this class we can replace all void* occurances that would otherwise not work.
2016-03-21 20:50:36 +01:00
Mike Lischke 6df5d025bf Complete formatting overhaul.
- Reformatted every single file to have a consistent indentation style using only space chars, with 2 chars per indentation. Reduced huge indentation due to deep namespace nesting by not indenting namespaces.
- Reduced #include usage to a minimum.
- Made copyright header the first entry in all files.
- Moved the previously mac-only prefix file (antlrcpp-Prefix.h) to the runtime. It can now be used by all platforms and includes all necessary standard headers.
- Removed a number of unused files.
2016-03-20 17:21:46 +01:00
Mike Lischke fec65477d8 ATN deserialization + some initialization and memory leak fixes
- ATN deserialization finally works.
- Changed a number of pointer to STL classes to just the STL classes and pass them around by const & where necessary.
2016-03-19 17:18:06 +01:00
Mike Lischke 11571fa092 A few more adjustments to make the merged changes work with this revision of antlr. 2016-03-18 15:27:17 +01:00
Mike Lischke 1672bc0739 Added all changes done so far. Since we are here on a very old revision I cannot simply merge, so all files have manually been copied and we have no history for these changes. 2016-03-18 14:22:42 +01:00
Mike Lischke 815856bdf0 Initial demo app setup + backend changes.
- The demo now uses a real setup to parse something and print output.
- Replaced empty UUID implementation by the guid implementation from Graeme Hill. Fixed uuid handling in a few places.
- Removed some obsolete (and mostly empty) lib files.
- Mac: the XCode project now does regenerate the files only after a grammar change, not always.
- Simplified ATNDeserializer + ATNSerializer and fixed a few things there (e.g. feature determination, duplicate copy op of the input).
- Removed some deprecated functions from ATNSimulator.h
- Fixed some bugs (e.g. uninitialized vars + leaks).
- Corrected a mistake I did in CppTarget which lead to wrong serialized ATN output.
- Cpp template:
  - Added proper static init code generation for Lexer + Parser classes.
  - Added some missing functions.
2016-03-18 09:59:09 +01:00
Mike Lischke 7e09002ebc First working version of a demo app that uses the new C++ target.
- Created a new command line target in the XCode project. Win + Linux yet outstanding.
- Reorganized the C++ runtime folder structure a bit
  * Put everything in a new folder "runtime"
  * Added a "demo" folder for the demo grammar + app
  * Renamed Apple folder to Mac in demo folder
  * Added a script with some descriptions to run parser regeneration (via jar or classes). This is also used in the XCode project to regenerate the files.
  * Moved all C++ runtime files up in the folder hierarchy. No need to mimic the deep nesting from Java.
- Some adjustments here and there in the C++ runtime for consistency.
- Overhaul of the Cpp.stg file to produce compilable code. Extracted file level templates into a new template Files.stg. Experimented with new named actions (@parser::listenerheader) but the result is not satisfying yet. Need to investigate more.
- Extended ANTLR to produce header files if a target class returns true in the new function needsHeader().
- Added generated folder from demo to .gitignore
- Added myself to contributors file + maven xml.
2016-03-15 21:02:47 +01:00
David Tymon eb5af71a30 JS: ATNConfig can incorrectly change "alt" of 0 to null
When an ATNConfig instance is created with an alt of 0, it is
possible for it to be incorrectly changed to null due to its
"falsey" nature.
2016-03-15 13:38:55 +11:00
David Tymon 5e176e405f JS: SemanticPredicate should be SemanticContext
AND.evalPrecedence() method is attempting to invoke a method on a
non-existent class "SemanticPredicate". It should be using
"SemanticContext" instead.
2016-03-15 13:32:48 +11:00
David Tymon 0dbb12ad1a JS: Fix copy-and-paste error in OR SemanticContext toString() method
- the OR toString() method was incorrectly added to the AND prototype
2016-03-15 11:00:36 +11:00
David Tymon 0262aac8f6 JS: LexerActionExecutor equals() should do deep comparison of Actions array
- according to the corresponding Java implementation, the equals()
  method for LexerActionExecutor should be doing an equals() test
  on each of the actions rather than testing the Array reference
  is equal.
2016-03-15 10:55:17 +11:00
Mike Lischke fcdff98aa6 Added my homepage to readme. 2016-03-06 13:46:27 +01:00
Mike Lischke fc1ae35963 Some fixes for readme.
Added myself there too.
2016-03-06 13:22:35 +01:00
Mike Lischke d0d7d23d6c Removed binary build file from Visual Studio solution from repo. 2016-03-06 13:19:29 +01:00
Mike Lischke 72d6e3b400 Add current C++ target runtime from antlr4cpp (Dan McLaughlin). 2016-03-06 13:16:40 +01:00
Terence Parr d0fb48c2b8 Merge pull request #1103 from ericvergnaud/master
latest version of honey-require
2016-02-10 12:40:53 -08:00
parrt ae8ea836fc reopen PR #1081 2016-02-09 11:47:54 -08:00
Eric Vergnaud b0196bc86e fixes #1108 2016-02-09 10:25:31 +08:00
Eric Vergnaud 7a59e92b8d latest version of honey-require 2016-02-02 21:01:28 +08:00
Peter Boyer 1ccaad7ae1 Fix incorrect assignment of stop token 2016-02-01 11:27:49 -05:00
Terence Parr 184f711753 [maven-release-plugin] prepare for next development iteration 2016-01-30 10:01:53 -08:00
Terence Parr dcca95d4f0 [maven-release-plugin] prepare release 4.5.2 2016-01-30 10:01:48 -08:00
Terence Parr c92ddcbd06 update version to 4.5.2 in source / packaging stuff. 2016-01-30 09:54:47 -08:00
Terence Parr 8fbf46b2f2 why oh why does intellij skip changes when i push? 2016-01-28 20:16:49 -08:00
Terence Parr 9a053d63b1 Merge pull request #1084 from dtymon/03_lexerActionExecutor_hash_string_clash
JS: LexerActionExecutor cached hash string name clashes with function
2016-01-28 11:11:15 -08:00
Terence Parr da27381fc1 Merge pull request #1083 from dtymon/02_ll1analyzer-incorrect_atnconfig_ctor
JS: LL1Analyzer passing PredictionContext incorrectly to ATNConfig ctor
2016-01-28 11:11:01 -08:00
parrt 34787c0fd8 Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1 Fixes #1081 2016-01-28 10:54:47 -08:00
Terence Parr 49cc92aa35 Merge pull request #1060 from ericvergnaud/missing-js-visitor-methods
fix #1058
2016-01-28 10:51:21 -08:00
parrt 7e6af55245 Merge branch 'master' of github.com:antlr/antlr4 2016-01-28 10:49:23 -08:00
parrt 5299d436aa Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1
# Conflicts:
#	contributors.txt
2016-01-28 10:47:03 -08:00
Peter Boyer 89f1192cb6 Fixes to Go runtime, tool 2016-01-21 19:31:30 -05:00
Peter Boyer 92b8f9f891 Various test fixes 2016-01-19 10:44:16 -05:00
Peter Boyer 86d65cf719 Fix lexer test failures 2016-01-16 17:11:00 -05:00
Peter Boyer 8f70a6f553 Fix test and GetRuleInvocationStack 2016-01-13 21:19:13 -05:00
Peter Boyer c8b73c99ea Fix issue where recovering tests returned nil by using named return value 2016-01-12 23:56:00 -05:00
Peter Boyer da94e5295e Fix some tests 2016-01-12 23:14:38 -05:00
Peter Boyer 260ccd056b Fixed a minor bug in Go runtime 2016-01-11 00:02:46 -05:00
Peter Boyer 7473c21b1e Even more test fixes yayaya 2016-01-08 16:57:54 -05:00
Peter Boyer 857600be43 Numerous test fixes 2016-01-08 09:28:38 -05:00
Peter Boyer b53e85afd2 Fix issue with code gen 2016-01-07 17:06:31 -05:00
Peter Boyer 096f26d3ae Minor fixes for left recursive rules 2016-01-07 09:46:00 -05:00
Peter Boyer 21999adb6e Fix a bunch of compiler errors in Go runtime-testsuite 2016-01-06 19:12:37 -05:00
Peter Boyer 81b47eedd7 Various minor fixes 2016-01-05 17:05:12 -05:00
Peter Boyer 977a1c3ae7 Fix issue with tests 2016-01-05 09:30:28 -05:00
Peter Boyer f2852686a7 Some of the runtime-testsuite tests now pass 2016-01-04 14:57:47 -05:00
Peter Boyer ddd706baf2 Fix issue printing tokens from IntervalSet 2016-01-03 22:44:36 -05:00
Peter Boyer fa46c498af Export some additional interface methods, fix issues with ParseTreeWalker, generate base Listener with tool 2016-01-03 22:07:43 -05:00
Peter Boyer 805f706f02 go fmt the whole project 2015-12-31 17:54:30 -05:00
Peter Boyer 39c1321d40 More, more refactoring cleanup 2015-12-31 17:53:41 -05:00
Peter Boyer ddb296cf01 More refactoring and cleanup 2015-12-31 15:36:56 -05:00
Peter Boyer 0726f4c2bb Some refactoring and cleanup 2015-12-31 15:01:37 -05:00
Peter Boyer 89427b7f45 Allow disabling debug statements 2015-12-31 13:42:59 -05:00
Peter Boyer efa8676211 Go impl emits exact same debug messages as JS impl. Yessss.... 2015-12-29 16:37:17 -06:00
Peter Boyer 7798333f72 More bugs 2015-12-29 15:32:11 -06:00
Peter Boyer 56e6e6c26f More debugging 2015-12-29 12:34:26 -06:00
Peter Boyer c08a19233c More bug fixing and debugging 2015-12-28 20:31:56 -06:00
Peter Boyer 4ffb3f81b6 More minor fixes 2015-12-26 10:32:02 -06:00
Peter Boyer a2e6ee7570 Minor fixes 2015-12-25 17:52:49 -06:00
Peter Boyer e6a0cce6db Time to find more bugs 2015-12-25 16:46:09 -06:00
Peter Boyer aefd7c751d Impl for toString 2015-12-25 16:26:28 -06:00
Peter Boyer d239a6aa0e Fix a few things, add some debug code to js runtime 2015-12-25 16:18:25 -06:00
Peter Boyer 1dfc764df7 Fix issues found while debugging 1 2015-12-25 16:10:02 -06:00
Peter Boyer ce20f3ff31 More cleanup to ensure embedded fields are initialized 2015-12-24 17:02:28 -06:00
Peter Boyer 8cba3ecc3a Repair init methods 2015-12-24 15:10:55 -06:00
Peter Boyer 694096d517 Init stuff correctly 2015-12-24 14:56:44 -06:00
Peter Boyer 36ae2795f8 Everything compiles and gens properly for Arithmetic example 2015-12-24 14:49:44 -06:00
David Tymon a1c63234e1 JS: Added 'require' statements are missing the class names 2015-12-24 19:04:22 +11:00
FUJI Goro (gfx) 4a1ec7df38 Remove Utils#waitForClose()
It is used nowhere but imports java.awt.*; Android runtime
has no java.awt.* so Android SDK build tools say "it includes
invalid packages". It's better if antlr4-runtime has no dependency
on java.awt.*, esp. it is not used anymore.
2015-12-24 14:04:58 +09:00
David Tymon 812794600d JS: LexerActionExecutor cached hash string name clashes with function
LexerActionExecutor caches its hash string in a member called
'hashString'. However, the class also has a method with the
same name which leads to unexpected results.

The member has been renamed to '_hashString' to avoid the name
clash.
2015-12-24 13:06:59 +11:00
David Tymon f40ce5a188 JS: LL1Analyzer passing PredictionContext incorrectly to ATNConfig constructor
The PredictionContext should be passed to the ATNConfig constructor
in the first argument, the params object. Instead, it is being passed
as the second argument which is intended to be the config.
2015-12-24 13:01:40 +11:00
David Tymon 0455e0a09f JS: Fix missing 'requires' statements 2015-12-24 12:23:09 +11:00
Peter Boyer a2e273c5f6 Stub out runtime-testsuite test generator 2015-12-23 18:10:47 -06:00
Peter Boyer d1f4d3171f More refactoring to inject GrammarFileName, LiteralNames... 2015-12-23 11:22:31 -06:00
Peter Boyer 78cf0048a5 More exporting 2015-12-23 11:07:54 -06:00
Peter Boyer f5cf1cbf68 Various refactorings to properly support package export 2015-12-23 11:00:30 -06:00
Peter Boyer ff70876ae8 Minor tweaks to template 2015-12-23 08:56:03 -06:00
Peter Boyer bd35305bc8 gofmt all files 2015-12-22 18:53:17 -06:00
Peter Boyer 859df5231c And now all of the changes are commmitted 2015-12-22 16:30:14 -06:00
Peter Boyer 9f6ea082e8 antlr4 compiles YAYAYAYAYA 2015-12-22 16:29:50 -06:00
Peter Boyer 39a2043254 more, more compiler errors 2015-12-21 23:29:28 -06:00
Peter Boyer ab8e52fb6a more compiler errors 2015-12-21 18:49:15 -06:00
Peter Boyer 4441b6f673 fix numerous compiler errors 2015-12-21 18:07:51 -06:00
Peter Boyer 7c812fb320 Various minor fixes, update of runtime-testsuite for go 2015-12-20 19:41:12 -05:00
Peter Boyer 2df791a266 LexerATNSimulator 2015-12-19 18:28:22 -05:00
Peter Boyer 56589c8029 Woops 2015-12-18 19:30:49 -05:00
Peter Boyer 68ca3b77c8 A bit more work on LexerATNSimulator 2015-12-18 19:24:44 -05:00
Peter Boyer b0720b2f13 LexerATNSimulator type annotations 2015-12-18 19:15:21 -05:00
Peter Boyer cd2466a9d9 ParserATNSimulator 2015-12-18 18:46:09 -05:00
Peter Boyer aa6cedaade PredictionMode 2015-12-18 16:39:59 -05:00
Peter Boyer 2762fe83b3 Trees 2015-12-18 16:20:42 -05:00
Peter Boyer d158f513ab SemanticContext 2015-12-18 15:53:57 -05:00
Peter Boyer f3db2d9637 LexerActionExecutor 2015-12-18 15:01:13 -05:00
Peter Boyer db3eb7edcb LexerAction 2015-12-18 14:40:08 -05:00
Peter Boyer c83d8fb109 Numerous small fixes 2015-12-18 14:09:06 -05:00
Peter Boyer 2a4de9bbf9 DFASerializer, DiagnosticErrorListener 2015-12-18 11:00:46 -05:00
Peter Boyer 54206cd853 Errors 2015-12-18 10:44:02 -05:00
Peter Boyer 40890f2122 More work on ATN code 2015-12-18 09:20:41 -05:00
Peter Boyer 5d0b4dfa09 Move files into one directory 2015-12-17 20:02:50 -05:00
Peter Boyer 4ea8768751 SimState 2015-12-17 17:27:28 -05:00
Peter Boyer f85f5d0c14 PredictionMode 2015-12-17 17:24:50 -05:00
Peter Boyer 5ef465e8e2 Ported ATNStates 2015-12-17 17:05:28 -05:00
Peter Boyer e96e55e66d Ported Transitions 2015-12-17 16:07:34 -05:00
Peter Boyer 3b69b21834 Numerous minor fixes 2015-12-17 14:32:01 -05:00
Peter Boyer cc2c5eca2f Complete work on PredictionContext 2015-12-17 11:16:47 -05:00
Peter Boyer 42e05d7147 Fix FileStream, InputStream 2015-12-17 09:42:07 -05:00
Peter Boyer 2cd064a94e More work on error 2015-12-16 17:57:24 -05:00
Peter Boyer 2aad0fde60 Banish undefined to nil 2015-12-16 16:08:00 -05:00
Peter Boyer f9ef62e7b8 RuleContext, Token, Utils 2015-12-16 16:07:08 -05:00
Peter Boyer 350a39cef3 Various type fixes 2015-12-16 13:42:03 -05:00
Peter Boyer ca20ec3cae AltDict, DoubleDict 2015-12-16 13:41:43 -05:00
Peter Boyer 704a507fac More, more, more types 2015-12-15 22:20:47 -05:00
Peter Boyer 797dd823be Fix mistake in tokenIndex bounds check
undefined < anyInteger 

returns false
2015-12-15 21:44:47 -05:00
Peter Boyer fd61f71cb9 More, more types 2015-12-15 21:29:58 -05:00
Peter Boyer 15aa407757 Banish instanceof to hell 2015-12-15 21:01:08 -05:00
Peter Boyer dc5cf284ed while -> for 2015-12-15 18:25:43 -05:00
Peter Boyer 1ac3d2701a Mass fixes for toString 2015-12-15 18:15:13 -05:00
Peter Boyer ac5e4d9b44 Mass fix for for loops 2015-12-15 18:13:43 -05:00
Peter Boyer 02d9013ea1 Comment out all require statements and prototype tomfoolery 2015-12-15 18:05:15 -05:00
Peter Boyer a8da94cb2e More const refactorings 2015-12-15 16:58:12 -05:00
Peter Boyer 729f30768a Mass refectoring of const variables 2015-12-15 16:38:01 -05:00
Peter Boyer fc75fbfab0 new -> New 2015-12-15 15:59:04 -05:00
Peter Boyer f12eaef24f !== -> != 2015-12-15 15:55:04 -05:00
Peter Boyer 8a00cbd485 null -> nil 2015-12-15 15:53:04 -05:00
Peter Boyer d3d82b920a More work up to LL1Analyzer 2015-12-15 15:50:44 -05:00
Peter Boyer 7d07d7514e First pass on token stream types 2015-12-15 15:08:06 -05:00
Peter Boyer e7e1138e5b Started to work on Lexer.go 2015-12-15 14:29:49 -05:00
Peter Boyer e0db3f55bc Mass removal of semicolons, more type conversion work 2015-12-14 16:34:59 -05:00
Peter Boyer 2c36445ac3 Stub out stg file 2015-12-14 11:27:11 -05:00
Peter Boyer 447452755e First commit of go runtime 2015-12-14 11:02:33 -05:00
Eric Vergnaud c651c83a8b fix #1058 2015-12-09 22:17:46 +08:00
Terence Parr 8a4aa39de2 fix links 2015-11-23 16:19:45 -08:00
Eric Vergnaud 98abfc14f3 Update GitHub references in npm package 2015-11-12 07:57:52 +08:00
Terence Parr 482d8d44fd resolve contrib conflict 2015-10-27 09:43:07 -07:00
Martin Probst af9e8a1e92 fix #1023: getExpectedTokens() returns out of context tokens on consecutive runs 2015-10-21 17:14:43 +02:00
hkff e051b1a0f8 Fixing BufferedTokenStream.getTokenStream() calls 2015-10-21 16:34:44 +02:00
hkff 0e09f8b659 Adding getTokenSource in BufferedTokenStream 2015-10-21 14:15:57 +02:00
Eric Vergnaud 3e807138d5 local replica of #1010 2015-10-05 21:28:30 +08:00
Eric Vergnaud 158ef2c567 same fix as #1010 2015-10-05 21:03:37 +08:00
Eric Vergnaud 1b01140354 Useful information for code completion 2015-10-04 11:44:26 +08:00
Eric Vergnaud a3b27766fa fix type 2015-09-30 22:07:46 +08:00
Terence Parr ca467f2d45 fix merge in contrib file 2015-09-18 14:04:26 -07:00
Terence Parr dfe05b5f9f Merge pull request #997 from krzkaczor/master
Added proper visit function in ParseTreeVisitor
2015-09-18 12:28:43 -07:00
Krzysztof Kaczor 55fce54f4e reverted fix 2015-09-18 17:29:55 +02:00
Eric Vergnaud 986d00a5a0 missing 'new', thanks Mike 2015-09-18 22:21:17 +08:00
Rajiv Subrahmanyam e5f011a9a1 #999: Using unicode(c) instead of str(c) to avoid exception when unicode string contains high byte chars 2015-09-17 22:23:10 -07:00
Krzysztof Kaczor b2d771e01c fixed bug that prevented run on nodejs 2015-09-17 21:25:37 +02:00
Krzysztof Kaczor 7a7480911c added proper visit function in ParseTreeVisitor 2015-09-17 21:21:49 +02:00
Eric Vergnaud 488f7b92ae was failing when ran in NodeJS 2015-09-14 23:34:52 +08:00
Eric Vergnaud 1e89482a64 Actually, Torben was kind enough to fix the require version from Smoothie, moved to a new framework called Honey, and to switch to the MIT license.
So dropped my version, which also required some fix for Safari, in favor of this one that I don't have to maintain
2015-09-11 16:20:29 +08:00
Eric Vergnaud 6c0b7d9c87 Improve compatibility across contexts: nodejs, web ui and web worker 2015-09-04 00:19:34 +08:00
Eric Vergnaud e7cdc2271f Largely rewritten to support usage in web worker thread without breaking compatibility with NodeJS require 2015-09-03 23:40:06 +08:00
Eric Vergnaud 27855f7ed4 remove slow asserts 2015-08-26 23:43:03 +08:00
Eric Vergnaud d7d59c53a7 more tuning 2015-08-26 23:42:14 +08:00
Eric Vergnaud 1b3f74495f typo 2015-08-26 23:41:21 +08:00
Eric Vergnaud 295d235728 typo 2015-08-26 23:40:41 +08:00
Eric Vergnaud 980072b6b4 more tuning 2015-08-26 23:40:14 +08:00
Eric Vergnaud 3a10724919 typo 2015-08-26 23:39:31 +08:00
Eric Vergnaud 1b5437aeab more tuning 2015-08-26 23:39:04 +08:00
Eric Vergnaud 2f4f36d60c typos 2015-08-26 02:14:19 +08:00
Eric Vergnaud e6d27c7a7c use native tuple hash instead of str hash 2015-08-26 02:13:56 +08:00
Eric Vergnaud 164a34ba6e use native tuple hash instead of str hash 2015-08-26 01:17:23 +08:00
Eric Vergnaud cfb557cc90 add performance test 2015-08-26 01:15:59 +08:00
parrt c07aa4ede1 [maven-release-plugin] prepare for next development iteration 2015-08-20 12:11:58 -07:00
parrt 3611fde621 [maven-release-plugin] prepare release 4.5.1-1 2015-08-20 12:11:55 -07:00
Robbie Cooper 3c08f49a1a Fix NameError in LexerATNSimulator.reset()
Without this line, one gets "NameError: name 'Lexer' is not defined" when calling reset(). This is the same way __init__() assigns self.mode.
2015-08-05 02:31:57 -04:00
parrt ad6a1bda3f rm generated files, update a manifest 2015-07-17 12:43:41 -07:00
parrt 3d181af904 [maven-release-plugin] prepare for next development iteration 2015-07-15 14:45:48 -07:00
parrt 79dae1e6f6 [maven-release-plugin] prepare release 4.5.1 2015-07-15 14:45:45 -07:00
Terence Parr b555099842 Merge pull request #955 from parrt/move-swing-dependency
move swing related stuff out of runtime package into org.antlr.v4.gui
2015-07-14 17:27:51 -07:00
Terence Parr 2921865a54 add TestRig proxy. 2015-07-14 16:57:46 -07:00
Terence Parr fcd1e54289 rm unneeded plug-in from maven 2015-07-14 14:40:21 -07:00
Terence Parr b395127e73 move swing related stuff out of runtime package into org.antlr.v4.gui 2015-07-14 14:29:41 -07:00
Eric Vergnaud 7a8dc8e290 simpler and clearer 2015-07-07 23:32:44 +08:00
Terence Parr 53678867ca rm a few local test files 2015-06-30 15:04:20 -07:00
Terence Parr c2dfb7f457 rm a few local test files 2015-06-30 14:27:12 -07:00
Terence Parr 7114dcd3ae Merge branch 'fold-into-master' of github.com:antlr/antlr4-python3 2015-06-30 14:26:37 -07:00
Terence Parr d81fa33128 mv files into proper position for folding into main antlr4 repo; delete already moved stuff 2015-06-30 14:25:12 -07:00
Terence Parr 40ef11a77c Merge branch 'fold-into-master' of github.com:antlr/antlr4-python2 2015-06-30 14:15:44 -07:00
Terence Parr fe207fb3ee mv files into proper position for folding into main antlr4 repo; delete already moved stuff 2015-06-30 14:13:56 -07:00
Terence Parr 6bd039e585 fold in history from javascript repo 2015-06-30 11:28:57 -07:00
Terence Parr c0aa3b36ca get .project into position 2015-06-30 11:26:45 -07:00
Terence Parr dac66a6fab mv files into proper position for folding into main antlr4 repo 2015-06-30 11:18:25 -07:00
Terence Parr 5d2d75d2e3 looks like i had python2 and 3 swapped. java, python3, c# pass. python2, js each have same single test failing: testCharSetWithQuote1 2015-06-29 18:09:37 -07:00
Terence Parr 99ad09ece1 ok, somehow python2 runtime got overwritten with weird stuff. it passes tests again now with fresh copy. 2015-06-29 18:09:37 -07:00
parrt da818c0c5c got javascript/node tests passing; folded in all js targets 2015-06-29 18:09:36 -07:00
parrt 8e89af918f all Python2 runtime tests pass 2015-06-29 18:09:35 -07:00
parrt d1f95085fe all Python3 runtime tests pass. Using same "get resource" mechanism to find runtime python code as I did for C#. 2015-06-29 18:09:35 -07:00
parrt e8c4bc4b09 Manual copy/add-to-git from antlr4-csharp repo (w/o history) to show how C# target should get injected into main antlr4 repo. Pieces go into tool for code gen, runtime-testsuite, and of course the runtime module. 2015-06-29 18:09:34 -07:00
parrt 905314e514 add NotNull back to runtime but just for backward compatibility with 4.5; deprecated 2015-06-29 16:54:48 -07:00
Sam Harwell 560b2b428e Remove the three remaining .iml files 2015-06-19 14:59:39 -05:00
Jason van Zyl 8beec18283 Add Maven build
Account for the following:
- deploying snapshots to OSSRH
- releasing to Maven Central
- Shaded JAR including the treelayout dependency
- OSGi manifest
- remove Eclipse IDE metadata for clean import
- remove IDEA IDE metadata for clean import
2015-06-19 11:13:24 -07:00
Terence Parr 2267559550 yet more ide .xml changes 2015-06-19 11:10:42 -07:00
Terence Parr 74fbf38ce7 make Predicate consistent with java 8 2015-06-19 11:06:06 -07:00
parrt 55a33fb45d add missing 2015-06-19 08:46:11 -07:00
parrt a9ca2efae5 add tests, refactor get-all-parse-tree stuff. add Trees support routines. 2015-06-18 17:25:51 -07:00
Terence Parr 4e11aa2d25 Revert "refactor tokens.size() to be size()"
This reverts commit dc150f4aa2.
2015-06-18 10:44:37 -07:00
Terence Parr 5f2ce89ea3 improve robustness 2015-06-18 10:34:03 -07:00
Terence Parr 7e8a7bac84 Improve tree highlighting 2015-06-18 10:33:33 -07:00
parrt dc150f4aa2 refactor tokens.size() to be size() 2015-06-18 10:23:12 -07:00
parrt 0e692ed436 allow users to override the TreeLayoutAdaptor 2015-06-18 10:23:12 -07:00
Terence Parr 204cf12e86 mv latch check for speed. 2015-06-18 09:56:53 -07:00
parrt 11726e072e update the comments. 2015-06-17 18:30:29 -07:00
parrt 94bef386cb add new interpreter that knows how to track alternatives in rule nodes; some cleanup and improvement to other interpreter 2015-06-17 18:06:22 -07:00
parrt 12a36946e8 actually just show text of erroneous token in red in treeviewer. 2015-06-12 17:42:06 -07:00
parrt 8524630c03 show <mismatched actualtokentext> not one of the expected. 2015-06-12 17:42:06 -07:00
Terence Parr 4c132b8a31 Fixes #899. Add error nodes to interpret or parse trees.
Conflicts:
	runtime/Java/src/org/antlr/v4/runtime/ParserInterpreter.java
2015-06-12 17:41:55 -07:00
parrt dfeaadaa26 LookaheadEventInfo now tracks alt taken by decision. 2015-06-12 17:17:12 -07:00
parrt ed41558dc4 comment tweak. 2015-06-11 13:12:25 -07:00
parrt b8035d36d0 small speed tweak 2015-06-11 12:56:29 -07:00
parrt a28b299dd4 reset new boolean 2015-06-11 12:54:13 -07:00
parrt 81e2a654d7 clean up per Sam 2015-06-11 12:52:48 -07:00
parrt 94bb7c0af3 Fixes #897. An empty rule matched at the start got an improper interval. updated documentation for getSourceInterval(), added unit tests. fixed logic for special cases. 2015-06-11 12:39:21 -07:00
parrt 9e5cda85ed Fixes #896. EOF was not counted in source interval. 2015-06-11 10:56:59 -07:00
parrt dc445af663 Improve ParserInterpreter code simplicity 2015-06-05 16:14:20 -07:00
parrt 965a50e82e Revert "Fixes #879. only gen parse listener enterRule events in enterOuterAlt, not enterRule."
This reverts commit a8b67147c2.
2015-06-03 10:50:41 -07:00
parrt ddf7cfc401 Revert "Fixes #802. Trigger events for alt labels in parser listeners."
This reverts commit 3674d45476.
2015-06-03 10:47:22 -07:00
Terence Parr 6333674588 bild.py works to build c# now. 2015-06-02 20:06:35 -07:00
parrt 1323e30fa9 moving around templates, deleting old stuff. C# and Java runtime tests work using branch intermediate-test-generation of C#. bild doesn't quite test stuff correctly. 2015-06-02 16:00:45 -07:00
Terence Parr e3325ab606 add cmd-line interface, add map in Index.stg to targets-specific templates. 2015-06-01 18:18:44 -07:00
parrt d73e73a091 update comments, rename var. 2015-05-29 14:10:08 -07:00
parrt 181f670860 set version to 4.5.1 2015-05-29 11:16:40 -07:00
parrt 343d0f90b4 update comment 2015-05-29 11:15:56 -07:00
Terence Parr a8b67147c2 Fixes #879. only gen parse listener enterRule events in enterOuterAlt, not enterRule. 2015-05-22 12:59:23 -07:00
Terence Parr e604167abb add common to parse tree listener 2015-05-20 15:11:37 -07:00
Terence Parr b2db5d17ad Merge pull request #842 from peturingi/master
Added error checks.
2015-05-20 12:17:01 -07:00
Terence Parr 3674d45476 Fixes #802. Trigger events for alt labels in parser listeners. 2015-05-19 18:08:13 -07:00
Terence Parr 8bf053d0be Fixes #819. fix-TokenStreamRewriter-doc-getText 2015-05-19 17:41:57 -07:00
Pétur Ingi Egilsson e64dbaec86 Update IntegerList.java 2015-03-20 22:37:24 +01:00
Pétur Ingi Egilsson 0d5e471f7c Update IntegerList.java 2015-03-20 22:36:24 +01:00
Pétur Ingi Egilsson bae2ba5e3e Added error checks. 2015-03-20 21:31:49 +01:00
Terence Parr 4369626e82 Merge pull request #812 from pavlo/master
Makes TestRig's dialog to save and restore its state
2015-02-15 13:17:39 -08:00
Terence Parr 5e70f94628 Somehow I missed a bunch of imports for @NotNull. Fixes #815. 2015-02-14 16:29:37 -08:00
Terence Parr d4a43684be squash all commits for this branch 2015-02-14 13:51:31 -08:00
Pavlo V. Lysov 255cb56da5 minor constant rename 2015-02-02 20:59:32 +02:00
Pavlo V. Lysov f56a27bb4b makes the UI dialog to save/restore its state - width, height, location on screen, the placement of splitter as well as viewer scale 2015-02-02 20:56:18 +02:00
Terence Parr 822d61ad47 Fixes #809. 2015-01-31 14:36:46 -08:00
Sam Harwell bc98e5b687 Initialize DFA.precedenceDfa when the DFA instance is created 2015-01-31 16:10:03 -06:00
Sam Harwell 84fb456aac Fix potential misuse of the DFA start state when initializing a decision from multiple threads
Fixes #804
2015-01-26 15:50:12 -06:00
Terence Parr 4cc275ab52 I did not have project URL in pom and the maven deploy failed again. 2015-01-23 15:33:01 -08:00
Terence Parr 3a4d53adea had license to the pom files and make sure that they use the jar packaging. 2015-01-23 14:39:36 -08:00
Terence Parr 4dcc65d452 make all 4.5 2015-01-22 17:08:19 -08:00
Terence Parr be03964df3 rm @NotNull and @Nullable from codebase to simplify 2015-01-22 14:34:51 -08:00
Terence Parr 0ee58d9295 rm JavaAnnotations 2015-01-22 13:28:22 -08:00
Terence Parr 353235ccf4 Merge pull request #797 from michaelpj/fix-recovery
Fix excess token consumption after `recoverInline`
2015-01-21 10:03:34 -08:00
Terence Parr 34cc04bf6a rm annotations dir from project 2015-01-20 16:59:04 -08:00
Michael Peyton Jones 3d71fc99d6 Update the documentation for recoverInline to advise against
consumption.
2015-01-20 14:19:47 +00:00
ericvergnaud 1926a1636a maven cleanup
- added note for maven developers
 - removed maven plugins
 - updated maven dependencies for dev only
 - added antlr4 annotations
2015-01-19 23:04:46 +08:00
Terence Parr b9ef67f91e remove redundant dependency 2015-01-14 17:19:34 -08:00