Corey Kosak
1bb3eb1ebf
Fix listener example in C++ documentation.
...
The listener example still refers to Ref<> and shared pointers, but in
reality the generated method does not pass a shared pointer. The actual
signature looks more like this:
virtual void enterKey(ParserRuleContext * /*ctx*/) override { }
This change updates the example to match that signature, and removes a line
discussing Ref<>. It also adds the "override" keyword in order to make the
user's code a little more robust against typos/changes in the grammar.
2017-06-01 11:15:48 -04:00
Terence Parr
c97abe5bc2
Merge pull request #1831 from mike-lischke/issue1824
...
Update C++ target doc for latest API changes - fixes #1824 .
2017-05-31 10:16:36 -07:00
Will Fuqua
e39543a257
add build script and update docs
2017-05-27 00:02:54 +07:00
David Sisson
f41ce7fed4
Fix tests for PR #1844 .
2017-04-29 17:27:08 -07:00
parrt
8c05696ed4
update js doc
2017-04-26 09:56:31 -07:00
Mike Lischke
1fdb7cd31d
Update C++ target doc for latest API changes - fixes #1824 .
2017-04-19 14:23:44 +02:00
Terence Parr
2f248353a3
Merge pull request #1819 from bradh/patch-1
...
Update getting-started.md (trivial)
2017-04-17 09:57:24 -07:00
lys0716
b8e81d5814
Correct typo in lexicon.md
...
’\’' should be ’\’
Signed-off-by: Yishuang Lu <luyscmu@gmail.com>
2017-04-12 16:50:09 -07:00
Brad Hards
8a9f259f62
Update getting-started.md
...
Either that or say what is is useful to do with...
2017-04-09 15:16:26 +10:00
parrt
8af0080103
add link
2017-04-03 09:56:07 -07:00
parrt
c8d9749be1
update doc on cutting release to 4.7
2017-03-30 14:36:04 -07:00
parrt
e95b74842e
update npm doc in releasing doc
2017-03-30 11:12:58 -07:00
parrt
2ab9c8ab51
add note about utf-16 code units in grammars. Fixes #1802
2017-03-30 10:54:58 -07:00
parrt
04507895bd
add link to Unicode doc
2017-03-30 09:49:45 -07:00
parrt
bb33217d14
add Ben to readme
2017-03-30 09:47:06 -07:00
parrt
ad3b43459d
rm new
2017-03-29 15:04:19 -07:00
parrt
40e1072e7e
update target docs that need alteration for new interface
2017-03-29 14:59:14 -07:00
parrt
039f43999c
tweak documentation about various targets
2017-03-29 14:46:50 -07:00
parrt
a7b2f3f12d
more tweaks about the status of UTF-8 in previous and current defaults.
2017-03-29 14:26:36 -07:00
parrt
cd2b6936cf
fix another reference to previous streams
2017-03-29 14:21:16 -07:00
parrt
6dd9a3fbe3
respond to @bhamiltoncx comments
2017-03-29 14:19:37 -07:00
parrt
1fcb5951c6
change the example to use the new stream interface
2017-03-29 14:14:32 -07:00
parrt
c3ed9a992d
Add more about unbuffered streams. tweak style of code
2017-03-29 13:56:57 -07:00
parrt
496f9c398d
update unicode doc, code comments
2017-03-29 13:29:23 -07:00
parrt
e0ea43ccb8
fix antlr notation
2017-03-20 14:48:00 -07:00
Mike Lischke
54601f7128
A few updates to the Unicode documentation.
...
It should be made clear that the recommended use of CharStreams.fromPath() is a Java-only solution. The other targets just have their ANTLRInputStream class extended to support full Unicode.
2017-03-18 13:01:11 +01:00
Terence Parr
1f6a329692
Merge pull request #1765 from bhamiltoncx/unicode-cleanup-and-doc
...
Tidy up CharStreams and add new doc/unicode.md
2017-03-16 17:03:06 -07:00
Ben Hamilton
4f2168600d
Tidy up CharStreams API. Add new doc/unicode.md
2017-03-16 17:01:46 -06:00
Ben Hamilton
c71b7d2f18
EmojiDefault and TextDefault
2017-03-14 13:27:01 -06:00
parrt
b467dc8015
remove outdated testing document, small update regarding API testing
2017-03-14 11:33:19 -07:00
parrt
98f1d808c6
update doc
2017-03-09 09:54:06 -08:00
Ben Hamilton
6007132e2e
Also support Unicode enumerated properties via \p{East_Asian_Width=Ambiguous} escape
2017-03-08 09:43:50 -08:00
Ben Hamilton
c209f2a51e
Update docs for new Unicode literal and property escapes
2017-03-02 09:36:18 -08:00
Ben Hamilton
242eb44cd0
Move doc/contributing.md to /CONTRIBUTING.md
2017-01-24 10:43:01 -08:00
Ben Hamilton
379013bf35
New doc 'Contributing to ANTLR'
2017-01-24 10:10:26 -08:00
Terence Parr
75784e0b8f
update file list needed version bump
2016-12-28 12:02:55 -08:00
Terence Parr
64fd96d045
Update releasing-antlr.md
2016-12-28 11:54:27 -08:00
Mike Lischke
4458950fd8
Re-added changed exportMacro documentation (got lost on revert).
2016-12-19 18:10:39 +01:00
Mike Lischke
a9dc3ebd86
Merge branch 'master_upstream'
2016-12-19 16:47:39 +01:00
Eric Vergnaud
a87df6f28a
more js docs
2016-12-17 00:23:16 +08:00
Eric Vergnaud
14f0c7a663
also published to npm
2016-12-17 00:03:03 +08:00
parrt
c4c2966dbd
update doc
2016-12-15 20:42:29 -08:00
parrt
b94ecc0fa5
update doc for new C# build
2016-12-15 14:58:52 -08:00
Terence Parr
d388e6b867
Merge pull request #1522 from parrt/ericvergnaud-publish-to-nuget
...
Ericvergnaud publish to nuget
2016-12-15 13:32:21 -08:00
parrt
31726311a8
add exportMacro to list of valid grammar options. verified it works in grammar and -D on command line.
2016-12-15 13:25:02 -08:00
Mike Lischke
d1b429d94c
Added a new setting required by the C++ runtime.
...
In order to export generated classes in DLLs we need a way to specify the __declspec setting. This is is usually done via a macro that takes the import or export value. The new parameter (`-export-macro`) allows to specify this, which increases the flexibility of the generated classes.
The C++ target documentation has been extended to describe build specific things, includig this new parameter.
2016-12-15 13:11:10 -08:00
parrt
0c332f704c
tweak to doc
2016-12-15 13:04:59 -08:00
parrt
7f95781321
update doc with more detail on building c#
2016-12-15 12:44:44 -08:00
parrt
586b36fe94
tweak doc. update assembly name to Antlr4.Runtime.Standard
2016-12-15 12:28:32 -08:00
parrt
3c1a34d005
add this to 'building a release doc'
2016-12-15 12:21:36 -08:00