Commit Graph

44 Commits

Author SHA1 Message Date
Eric Vergnaud 91f8862a36 cleanup 2019-07-13 12:20:04 +08:00
Dong Xie 7fcf8ab074 pull in pr1229 into branch: dotnetcore 2016-12-09 23:59:20 +00:00
Mike Lischke 3b98c1136e Merge branch 'master_upstream' 2016-09-25 11:31:51 +02:00
Burt Harris 10f5ebe22a Repair comment 2016-09-23 15:02:38 -07:00
Burt Harris 8e44b19ec9 Update .gitignroe fules for VisualStudio etc.
Avoids temp and user-preference files from getting commited
2016-09-23 14:58:21 -07:00
Burt Harris 89987e3579 + comment in .gitignore 2016-08-11 13:08:02 -07:00
Burt Harris a51b709954 Fix .gitignore for target language directory
Also added .gitignore entries for Node.js & typescript dependency cache directories.
2016-08-11 12:56:34 -07:00
Mike Lischke 568c844d85 Updated .gitignore for .vscode. 2016-07-20 12:23:21 +02:00
David Neumann da6b0a4e1a Updated the .gitignore file to ignore project.lock.json file. 2016-07-09 22:17:37 +02:00
David Neumann de04c1c391 Updated the .gitignore file to ignore some new Visual Studio configuration and user settings files. 2016-07-07 17:26:10 +02:00
Mike Lischke 9ca136a8b7 Ignore jar files in the repo.
Jar files are manually copied into the repository to generate files, but don't belong to it.
2016-05-05 11:14:52 +02:00
Mike Lischke 0e5b501aa8 Merge branch 'feature/templates' into feature/templates-org 2016-04-23 16:42:26 +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 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 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
Mike Lischke 29ee73bd0a Separated top level file rules into an on ST group file.
Started formatting output and adding std::shared_ptr<> where needed.
2016-03-07 18:10:11 +01:00
Mike Lischke e6b4ea736d Moved CppTarget.java to the target subfolder where the other targets are.
Corrected .gitignore which excluded target folders too generously.
2016-03-06 18:57:28 +01:00
Mike Lischke d0d7d23d6c Removed binary build file from Visual Studio solution from repo. 2016-03-06 13:19:29 +01:00
Terence Parr 52d45fe842 add index of faq 2015-10-27 10:47:21 -07:00
Eric Vergnaud 158ef2c567 same fix as #1010 2015-10-05 21:03:37 +08:00
parrt da818c0c5c got javascript/node tests passing; folded in all js targets 2015-06-29 18:09:36 -07:00
Terence Parr c91ce731d2 improve gitignore 2015-06-19 12:28:05 -07:00
ericvergnaud 4499344985 added -root parameter to generate all targets 2015-06-19 02:10:19 +08:00
Terence Parr 24ae4b9bcb improve gitignore 2015-06-06 09:29:32 -07:00
parrt cf473b469c put /gen in gitignore 2015-06-05 15:57:19 -07:00
ericvergnaud 0e03820487 git health 2015-01-17 07:33:30 +08:00
Terence Parr 328857fa84 add intellij project files 2 2015-01-14 11:24:06 -08:00
Terence Parr 8af4afc058 add intellij project files 2015-01-14 11:20:08 -08:00
ericvergnaud 8228987b4f prepare release
all tests pass (commented out performance and alternate quotes)
added test for complement set
tests regenerated to fix results after bug fixes and « huge string »
issue in java 1.7+
bild.py review to fix numerous bugs
2014-11-23 02:06:47 +08:00
ericvergnaud df61f040c4 prepare maven deploy
add mvn_install (requires https://github.com/parrt/bild/pull/2)
add mksrc
improve javadoc
2014-11-09 22:09:34 +08:00
ericvergnaud 77defbdc70 Git hygiene
Marked .DS_Store files as ignored
2014-05-21 00:19:35 +08:00
Terence Parr d2caae46a7 working on xpath 2013-09-10 14:55:40 -07:00
Sam Harwell 931df811db Remove tool/playground from source control, add to .gitignore (fixes #293) 2013-06-25 14:30:25 -05:00
Sam Harwell f2ae1ef204 Ant build.xml: allow user settings in user.build.properties 2013-01-06 15:28:07 -06:00
Sam Harwell 0cced01ab3 Ant build.xml: look for ANTLR 3 library in lib folder, download from antlr.org if missing. Remove unnecessary build.properties. 2013-01-06 15:27:45 -06:00
Sam Harwell 78124081f1 Also ignore profile-specific nbactions-*.xml 2013-01-05 05:40:08 -06:00
Sam Harwell e6d1c7f257 Add Eclipse project files to .gitignore 2012-12-20 16:56:02 -06:00
Sam Harwell 842d449be3 Updated .gitignore to better accomodate projects which may exist in other branches 2012-12-15 18:26:39 -06:00
Sam Harwell 5d8d9670df Updated .gitignore 2012-11-30 12:40:24 -06:00
Sam Harwell b56f6d858f Exclude the build/ and dist/ folders created by Ant builds 2012-11-26 02:27:43 -06:00
Sam Harwell 27cb0e4012 Add IntelliJ project files and folders to .gitignore 2012-11-25 16:30:50 -06:00
Sam Harwell d902a73834 Initial Maven plugin for ANTLR 4. Just replaced v3 references with v4, so documentation not up-to-date. 2012-04-10 09:59:59 -05:00
Sam Harwell 62c265fe54 Ignore heap dumps created during profiling (*.hprof) 2012-03-07 08:01:06 -06:00
sharwell a6524d8b38 Add pom.xml to support maven builds 2012-02-08 15:07:06 -06:00