Commit Graph

330 Commits

Author SHA1 Message Date
Arunav Sanyal a39b77f904 Update getting started guide to use antlr4.8
Updating getting started to use antlr4.8 complete instead of 4.7.1 complete.
2020-09-10 13:52:37 -07:00
Tian Siyuan 2a573927ea
add a missing space 2020-09-10 16:31:15 +08:00
Stevie Johnstone 8270f329ad Fix C++ target README example
tree::ParseTreeWalker::DEFAULT is not a pointer
2020-08-22 17:48:15 +01:00
Larry Li d47db45180 fix travis ci for pinned dart sdk version 2020-08-19 12:31:02 +10:00
Akos Kiss 835bd709a8 Be more precise in documentation of char set when escaping is needed 2020-06-19 01:05:13 +02:00
Larry Li 55e55a0d4b Update docs for creating a target 2020-05-31 00:52:57 +10:00
Larry Li 150ecabfff Add docs for Dart target 2020-05-31 00:35:07 +10:00
[OXID-PS] Keywan Ghadami c40d68f92c
fix composer command in documentation
see also https://github.com/antlr/antlr-php-runtime
2020-05-22 00:07:47 +02:00
Moses Paul R c67df82a18
Added a link to README.md
I thought adding this particular link would increase accessibility
2020-05-06 13:30:00 +05:30
Adam Grabski 6615eafeb8
Make sample grammar for modes more readable
add a new line to the grammar used as an example for the mode changing operators to make the example more accessible
2020-04-10 16:39:17 +02:00
Leon Wehmeier 83dcc58ae6
cpp-target.md: fixed link to "Antlr4 for C++ with CMake: A practical example" blog post 2020-04-08 16:55:38 +02:00
Camilo Roca 4b4aa68be3 fix: npm build is not a valid command 2020-02-08 15:14:10 +01:00
Camilo Roca 07aaf5fc63 more documentation updated [skip ci] 2020-02-07 14:13:52 +01:00
Camilo Roca c2180d2d5c adapted antlr4 js to use webpack for browser publishing
lib/require.js custom require removed in favour of webpack bundle
documentation updated
package-lock.json added
2020-02-07 13:57:20 +01:00
praveen4463 5b785e8c99
fixing a typo, was role instead of rule
fixing a typo, was role instead of rule
2020-01-21 19:54:55 +05:30
parrt 7a3f40bc34 update doc for releasing 2020-01-19 08:18:55 -08:00
parrt fc2e6636d6 tweak doc 2020-01-18 14:00:52 -08:00
parrt 26ab547f1c bump dev version 2020-01-18 13:58:23 -08:00
parrt 54cb3f2018 trying to get 4.8-1 to fix release (all say 4.8-1-SNAPSHOT now) 2020-01-18 10:34:27 -08:00
parrt 68fd66dd49 add doc for releasing 2020-01-16 15:46:58 -08:00
parrt 74c92f2e64 update doc to 4.3 2020-01-16 12:07:07 -08:00
Mike Lischke d295462e2e Doc update for C++ target and fixes for VS 2019 builds 2020-01-03 11:54:30 +01:00
Eason Lin 334e8801c3
Merge branch 'master' into easonlin404-patch-1 2019-12-31 01:35:20 +08:00
Marcos Passos cc0882c8cb
Add the submodule update step to the release docs 2019-12-17 16:12:16 -03:00
Ben List 2758f0ba02
Missing lexer/parermodifier clarification in example 2019-11-06 09:00:01 -05:00
Kazuki Sawada c097636a9b
case-insensitive-lexing: add implementation for Python2/Python3 2019-09-17 23:33:11 +09:00
Kazuki Sawada 013dca5d7d
case-insensitive-lexing: Golang: make direct-importing possible 2019-09-17 23:33:11 +09:00
Kazuki Sawada 91f4b89ee6
case-insensitive-lexing: FIX javascript implementation does not work 2019-09-17 23:33:11 +09:00
Kazuki Sawada bc5586d708
case-insensitive-lexing: update doc: fix link to implementations 2019-09-17 23:33:11 +09:00
Marcos Passos 789d746636 PHP Target 2019-09-14 09:39:58 -03:00
Mike Lischke 8651498f41 Merge branch 'master-upstream' 2019-08-18 11:18:41 +02:00
Eason Lin e2ee6e86df
[Golang] enable syntax highlighting 2019-08-12 18:01:09 +08:00
thron7 925408d08b
(minor) word slip 2019-08-02 11:46:19 +02:00
Abhijith Neil Abraham a92600936c
Update getting-started.md
To resolve some confusion on readme
2019-07-11 11:33:54 +05:30
Massimo Santini 3740b28995
Added a missing quote.
Added a closing quote.
2019-05-13 16:21:41 +02:00
Andy Collins be993de7d9 syntax highlighting for csharp language target doc 2019-05-02 20:44:28 -05:00
t-gergely 8217e543eb
Update tree-matching.md
Deleted redundant and misplaced sample code.
2019-04-26 11:55:43 +02:00
Carlo 572bc7eb6f
do not use python built-in as variable name 2019-03-18 18:04:15 +01:00
Justin Thomas 6160aa6101
Added visitor example. 2019-03-12 06:51:56 -07:00
parrt de316ff5ce tweak doc 2019-02-04 13:32:39 -08:00
Mike Lischke ec665c1b90 A small fix in the C++ documentation. 2019-01-03 10:39:59 +01:00
parrt 5faa48a645 fix https link issue; fixes #2422 2018-11-22 14:17:51 -08:00
Prateek Gulati aa503dfafb
Updating current directory in classpath
Otherwise it throws "Can't load Hello as lexer or parser" error
2018-11-22 15:03:09 +05:30
Prateek Gulati 1d6f03aecf
Updated antlr version for windows 2018-11-21 16:26:21 +05:30
Ewan Mellor 19ac145081
[Swift] Add version info to the documentation.
Add a documention note about which versions of Antlr require which versions
of Swift.
2018-11-15 11:26:09 -08:00
parrt a57732ce74 Merge branch 'master' of github.com:antlr/antlr4 2018-11-08 13:36:02 -08:00
parrt 756e4da008 tweak 2018-11-08 13:35:56 -08:00
Terence Parr d9a061d6d7
Merge pull request #2316 from wu-sheng/patch-1
Make grun alias as same as antlr4.
2018-11-08 13:22:26 -08:00
Terence Parr a9eb18c921
Merge branch 'master' into master 2018-11-08 13:18:43 -08:00
parrt cabee7a964 tweak 2018-11-08 12:59:53 -08:00
parrt 52c5c2144e tweak 2018-11-08 12:41:46 -08:00
parrt de87686674 add note about 1.7 in doc 2018-11-08 12:27:48 -08:00
Lucas Henrique 95f8c4b768
Fixing the link to the Eclipse plugin
The link to the Eclipse plugin was pointing to the a YouTube video about the Intellij plugin
2018-07-31 15:02:38 -03:00
Terence Parr 7bd2c3fbe1
Merge branch 'master' into fix-js-examples 2018-07-24 12:59:53 -07:00
Terence Parr 04f6924299
Merge branch 'master' into master 2018-07-24 12:55:34 -07:00
Terence Parr 7c4806bb0b
Update releasing-antlr.md 2018-07-12 09:46:38 -07:00
吴晟 Wu Sheng 0728fd05af
Update getting-started.md
Make grun alias as same as antlr4.
2018-06-27 14:41:12 +08:00
Ale Contenti 7ca6d525e6 Updated csharp-target doc
Added a 'using' statement for namespace using Antlr4.Runtime.Tree, so that IParseTree can be found without fully qualified name.
Fixed typo in property Parser.BuildParseTree
2018-06-15 00:02:07 -07:00
john d076768dff fixed spelling mistake in js docs 2018-05-15 13:17:23 +02:00
Kaspar Emanuel 040ca0cee3 add require statements to javascript target example 2018-01-06 13:54:26 +01:00
Kaspar Emanuel dadd466cbd fix indentation in javascript target examples 2018-01-06 12:48:09 +01:00
parrt ba47b092e9 update setup.py to use setuptools not distutils (Python 3) 2017-12-10 12:32:52 -08:00
parrt d674274f99 update setup.py to use setuptools not distutils 2017-12-10 12:28:05 -08:00
parrt e0aa817929 tweak cutting release doc 2017-12-10 10:53:38 -08:00
parrt 398c018612 tweak doc 2017-12-09 12:19:25 -08:00
parrt c5cec0397a tweak cutting release doc 2017-12-09 11:27:06 -08:00
parrt 763a1242b7 update version number and tweak doc 2017-12-08 12:47:11 -08:00
parrt 4763949d42 pull in additions by Sebastian Lang 2017-12-06 12:23:43 -08:00
parrt 846c7dafda pull in additions by Sebastian Lang 2017-12-06 12:22:11 -08:00
David Morais Ferreira 87ea4c4862 pull in contrib 2017-12-06 12:20:33 -08:00
parrt 2fd1f9a11c add links to new source code 2017-12-05 15:30:45 -08:00
parrt 634b75acb9 add in JavaScript case insensitive stream from bramp 2017-12-05 15:29:11 -08:00
parrt d3a7fe37ff add in Go case insensitive stream from bramp 2017-12-05 15:27:55 -08:00
parrt ce8b4ae523 add in java case insensitive stream from bramp 2017-12-05 15:22:11 -08:00
parrt 529903a7f6 start on doc for Case insensitive lexing 2017-12-05 15:15:46 -08:00
parrt a5f47c8c55 start on doc for Case insensitive lexing 2017-12-05 14:53:25 -08:00
parrt 4c3ce09811 start on doc for Case insensitive lexing 2017-12-05 14:51:50 -08:00
Nicolas 490cd7068c Make some changes to the docs for grammars to describe support for lexers
containing modes.
2017-12-04 17:25:51 +13:00
Terence Parr e8dd80523e
Merge pull request #2126 from ewanmellor/generator-access-levels
Add an accessLevel parser option.
2017-11-29 09:56:24 -08:00
Terence Parr 963d44f930
Merge pull request #2024 from kaedvann/master
[CSharp] #2021 fixes nuget packaging options to avoid missing dll exceptions
2017-11-25 12:17:15 -08:00
Ewan Mellor ed52b5a053
Add an accessLevel parser option.
Add an accessLevel parser option.  Use this to specify the access level
(public, etc) used on the classes and protocols in the generated
parser / lexer / listeners.  This required adding the option to
tool.Grammar.parserOptions so that it was known as a valid option, and
to codegen.model.{Recognizer,ListenerFile,VisitorFile} so that it was
available to the template in all the necessary contexts.

The Swift template has been extended to recognize this option, and generate
classes and members using "open", "public" or "internal" as appropriate.

This is only fully implemented for Swift.  The option is generic, but
the language-specific templates will need to be updated for any language
that would like similar support.

Closes #1597.
2017-11-16 00:18:28 -08:00
Rostislav Listerenko 9ec6c665d5 #2021 nuget artifact in appveyor 2017-11-13 08:47:15 +03:00
Mike Lischke eaed562cb3 Merge branch 'master' into interpreter2 2017-11-11 11:06:53 +01:00
Terence Parr 21a38b3cea
Merge pull request #2086 from ewanmellor/message-output
Improve the "gnu" message format
2017-11-04 10:49:37 -07:00
Terence Parr 1701d769d3
Update antlr-project-testing.md 2017-11-04 09:20:11 -07:00
Ewan Mellor 63d83a8bcc
Add a note to the documentation regarding -message-format gnu's suitability
for Xcode.

Mention use of -o while we're here.
2017-10-29 12:12:58 -07:00
JavaDDD d00b7333d8 Update getting-started.md
Introduction to install on Unix based systems version mismatch.
2017-10-23 18:15:47 +03:30
Mike Lischke 16242e43c0 Merge branch 'master' into interpreter2 2017-10-22 13:48:10 +02:00
Hanzhou Shi 0dce38109c Update boot.py and swift-target.md to reflect Swift 4 migration changes. 2017-10-21 12:44:44 -07:00
Terence Parr c9c7561701 Merge pull request #2032 from ewanmellor/swift-4
Migrate the Swift runtime to Swift 4.
2017-10-21 12:26:29 -07:00
Ewan Mellor 4d628174df
Update Swift runtime documentation.
We now use boot.py and Swift Package Manager to generate the .xcodeproj
rather than having those committed in the source repo.
2017-10-20 10:12:44 -07:00
simkimsia 51fc50dbcb Update getting-started.md
change all mentions of 4.5.3 to 4.7 since that's what the quickstart on http://www.antlr.org/ homepage is already showing
2017-10-15 16:14:50 +08:00
Terence Parr 51c743c80e Merge pull request #2017 from moon-fall/master
correct the version of the antlr jar package
2017-10-10 12:33:07 -07:00
fallnirvana 41cd0309a7 correct the version of the antlr jar package
version of the antlr jar package is different from other place of this doc,and it make mistake.
2017-09-19 23:19:39 +08:00
Sachin Jain 7ed8fe6d29 Minor formatting
Introduced newlines to have better view of steps.
2017-09-11 16:23:45 +05:30
Hanzhou Shi 4c93b71983 Updated swift-target.md. 2017-08-05 13:57:53 -07:00
Mike Lischke aa2d34bdfd Merge branch 'master' into interpreter2 2017-06-30 13:44:11 +02:00
Terence Parr 62a2d5c9df Merge branch 'master' into patch-1 2017-06-29 16:13:41 -07:00
Daniel Katz 30836a47c5 CharStreams is deprecated in 4.7 2017-06-13 21:29:44 +03:00
Erik A. Brandstadmoen 2ff746493e Charstreams.fromString -> Charstreams.fromstring 2017-06-11 23:58:01 +02:00