Commit Graph

109 Commits

Author SHA1 Message Date
Oliver Sampson b4bf40e47e Update getting-started.md 2016-11-25 15:52:18 +01:00
Oliver Sampson 3ed4348ab6 Update getting-started.md 2016-11-25 13:01:24 +01:00
janyou a74b33339c update swift-target.md 2016-11-23 07:00:17 +08:00
parrt 10fb0a3049 add info on Swift target 2016-11-22 12:11:13 -08:00
parrt 39ddd0da3a improve doc on build 2016-11-21 11:44:16 -08:00
parrt 06285d16d7 improve doc on runtime targets 2016-11-21 10:51:07 -08:00
Terence Parr f72fe32e8c Merge pull request #1228 from tobiasbueschel/patch-1
correct spelling error
2016-11-19 14:35:37 -08:00
parrt 79dbb8be96 small improvements to locating mono, node 2016-11-19 14:05:43 -08:00
parrt 978851f703 update doc 2016-11-19 13:14:29 -08:00
parrt 201925b2da tweak doc 2016-11-19 12:57:07 -08:00
parrt 0dcf626e8b tweak doc 2016-11-19 11:59:08 -08:00
parrt 19d956cfc2 tweak doc 2016-11-19 11:53:53 -08:00
parrt a736e4b9ee tweak doc 2016-11-19 11:15:31 -08:00
parrt a6a730405f finish binary example and update documentation 2016-11-18 09:07:40 -08:00
parrt c8cb2fde73 add binary test case 2016-11-17 14:56:53 -08:00
parrt b4d8982e95 Merge branch 'master' of git://github.com/NoodleOfDeath/antlr4 2016-11-17 10:31:43 -08:00
parrt 9675c822a9 update doc, add lock so antlr used atomically in unit tests so we can run in parallel. 2016-11-16 15:42:45 -08:00
parrt 5aae2edb24 support x:T notation in rule arguments, update documentation, improve [...] scope parsing testing 2016-11-16 11:54:23 -08:00
parrt d534efdf9a update doc on the runtime test mechanism. change the name of BaseDebugParserTestDescriptor to BaseDiagnosticParserTestDescriptor. 2016-11-15 14:25:28 -08:00
Terence Parr 29fa9ba36e Merge pull request #1344 from pboyer/patch-4
Update Go documentation
2016-11-07 23:25:50 +01:00
parrt 061177fab0 tweak doc 2016-11-07 14:15:15 -08:00
Peter Boyer 893ecf981b Update Go documentation 2016-11-07 12:11:24 -05:00
Mike Lischke 3b3fe3da57 Merge branch 'master_upstream'
Had to resolve a number of conflicts + added code required for the C++ target to generate header files, after the recent changes in the main repo.
2016-11-07 11:16:02 +01:00
Thom Morgan 0c6ee8fa62 Update actions.md 2016-11-06 09:41:26 -05:00
parrt bcfa70c4e8 test templates were missing visitor-related templates. slight improvement to test generator. 2016-11-05 16:26:01 -07:00
parrt 803e72ba38 tweak 2016-11-05 15:22:55 -07:00
parrt cbbdbaac75 add Go target links in doc 2016-11-05 15:15:22 -07:00
Peter Boyer fc35818c52 Update import statements after merge 2016-11-05 16:36:53 -04:00
Peter Boyer 7eb6aec612 Add runtime 2016-11-05 12:25:15 -04:00
Peter Boyer 8b67d2418c Move go target docs 2016-11-04 14:36:02 -04:00
Mike Lischke 8280beb564 Refactoring of further int values, mostly converting them to size_t.
- Switched most symbolic signed constants to unsigned variants. Redefined EOF in particular to become (size)-1, to avoid having to use signed token type values.
- Introduced INVALID_INDEX for all previous -1 values to indicate e.g. not found indexes etc.
- Added 2 helpers to convert between symbolic and numeric form (mostly for intervals and toString()).
- Removed many no longer needed type casts to size_t.
- Updated templates for these changes.
- Limited runtime tests to C++ tests only, to see how Travis CI copes with that.
2016-10-02 16:51:57 +02:00
Mike Lischke 3b98c1136e Merge branch 'master_upstream' 2016-09-25 11:31:51 +02:00
parrt 0b2d5304a5 tweak links in doc 2016-09-24 11:20:13 -07:00
parrt 2f92b47500 tweak links in doc 2016-09-23 13:19:44 -07:00
Eric Vergnaud d3ceee5043 Enhancing the doc 2016-09-24 00:02:18 +08:00
Mike Lischke 7abfbc60c6 Change deployment scripts location and updated doc.
In order to be able to build with cmake and to have a complete source package including the demo the deployment scripts were moved to the root Cpp folder and updated.
Also the releasing-antlr.md doc file has been updated.
2016-08-04 17:03:34 +02:00
Tobias Büschel cf258582f2 correct spelling error 2016-07-08 12:16:04 -04:00
Mike Lischke f6515e5aaf A few adjustments in doc + runtime tests for the changed library name + input stream handling. 2016-06-21 17:25:39 +02:00
Mike Lischke d718fa9f44 Windows runtime deployment.
- Created deployment script for Windows + updated doc/releasing-antlr.md.
- Created projects for both VS2013 and VS2015 to be used by the deployment script.
- Fixed trouble with a bug in VS2015 where std::codecvt_utf8<char32_t> is not properly supported.
- Fixed a few #include paths + a number of warnings.
2016-06-21 10:51:31 +02:00
Mike Lischke 89442c6cb8 Changes for deployment.
- Settled on a final library name scheme: base part is "libantlr4-runtime" on MacOS + Linux. The extension determines the type (.a static lib, .dylib dynamic lib in MacOS, .so dynamic lib in Linux). No more mention of target language (cpp) or type (static) in the lib name. On Windows we omit the lib prefix, so the name becomes: antlr4-runtime.dll + antlr4-runtime.lib. We may later want to add version information there, but doing that automatically is difficult.
- Updated XCode project and CMakeLists.txt file for the new naming scheme.
- Added deployment scripts for source code (for Linux + iOS) and MacOS.
- Added C++ section in docs/releasing-antlr.md.
2016-06-19 15:31:09 +02:00
Mike Lischke 4a7ec859aa Simplified parse tree listener handling.
No need to use shared_ptr for management. Listeners are, like the other main classes (parser, lexer, input stream etc.) provided by the application and hence managed there.
2016-06-17 10:22:19 +02:00
Mike Lischke dd48c0fbd5 A few final touches to make runtime tests passing. 2016-06-16 11:20:42 +02:00
Mike Lischke b9c28d8c9c Signficantly simplified Token handling.
In order to lower the overhead when passing around Token instances via smart pointers and because the ownership is clear (token streams own them), these instances can be passed as raw pointers.
2016-06-13 13:12:02 +02:00
Mike Lischke ff129beadf Some smaller fixes for Windows. 2016-06-06 15:58:14 +02:00
Mike Lischke 73248ac2e3 Some changes in the C++ target doc + a some template fixes.
- Avoiding double semicolons is tricky with the kind of rule nesting. Previous changes for that caused the tests to break as there were semicolons missing then.
- VS complained about the shift code generated using 1L as base, which is signed. Changed that to 1ULL, which is what is actually intended.
- Reverted the change to avoid a warning in RuleSempredFunction() in Cpp.stg as the fix didn't work 100%. We need a different solution.
2016-06-05 14:35:11 +02:00
Mike Lischke d6339f5cf4 Added some notes about Unicode to the C++ target doc. 2016-06-04 16:46:09 +02:00
Mike Lischke 80ced92d55 Added informations about C++ target specific stuff to the docs. 2016-06-04 15:28:04 +02:00
Mike Lischke 4a6b68c6f6 All C++ runtime tests pass now.
- A few remaining changes had to be done for the C++ runtime tests which now completely pass.
- Added a runtime testing overview document.
- Added a description of C++ target.
- Updated the ANTLR release document.
2016-06-04 12:11:38 +02:00
David Sisson b69076ab7f update docs 2016-05-05 21:58:59 -07:00
David Sisson 6c08a6e72d update docs 2016-05-05 21:58:05 -07:00