Commit Graph

141 Commits

Author SHA1 Message Date
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
Eric Vergnaud c78d42657e added link to the C# page 2016-12-15 12:01:10 -08:00
Mike Lischke 428ff28f35 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 16:44:26 +01:00
hanjoes 12744d40ad Update swift-target.md 2016-12-14 23:13:37 -08:00
Hanzhou Shi 03709dc879 Tweak picture size. 2016-12-14 23:11:18 -08:00
Hanzhou Shi c7e291e77b Tweak Swift target doc. 2016-12-14 22:53:34 -08:00
Hanzhou Shi bf37edf039 Tweak Swift target doc. 2016-12-14 22:50:53 -08:00
hanjoes 86ea75dcea More doc for Swift target. 2016-12-14 22:30:26 -08:00
parrt 81cb4367bb tweak doc 2016-12-14 16:41:19 -08:00
Terence Parr 3db68a7ea0 Merge pull request #1513 from ericvergnaud/typos
Added Go in features table, and keep target order in sync with above.
2016-12-14 13:22:51 -08:00
parrt 5cc106562f update doc 2016-12-14 12:52:05 -08:00
parrt 7430b74d98 update doc; move testing info to single file. rename doc file. 2016-12-14 11:51:28 -08:00
Eric Vergnaud 30acda080d Added Go, and keep target order in sync with above. 2016-12-15 03:18:43 +08:00
parrt f83d03a93e improve doc 2016-12-14 10:28:14 -08:00
parrt caa500094f tweak docs to show 4.6 2016-12-13 13:36:19 -08:00
Terence Parr e1a330f540 Update releasing-antlr.md 2016-12-13 13:24:45 -08:00
Mike Lischke 31b259e636 Merge branch 'master_upstream' 2016-12-13 09:00:13 +01:00
parrt aa5f782bdb update doc 2016-12-11 09:48:24 -08:00
Mike Lischke 4aaa0bfb5a Better synchronization for multithreading - fixes issue #1435
- The shared mutexes were defined as normal instance variables in a simulator, so the locks didn't work (multiple instances of simulators active). By making them static (which is more appropriate anyway, since we are protecting static data) the synchroniation now works.
- For better performance an own class for multiple read/single write locks was added and used instead of the shared mutexes.
- Made the static wstring_covvert instance local variables in ws2s and s2ws. Otherwise we would also need a mutext to protect it.

- Some other minor changes.
2016-12-11 12:53:24 +01:00
Ewan Mellor b0c3824357 Create a new Xcode playground for Swift.
This takes the example from
https://github.com/janyou/Antlr-Swift-Runtime/tree/master/Test and packages
it into an Xcode playground.  This allows the user to interact with the
grammar directly inside Xcode, and serves as a live demo of the Swift support.

Update the docs to match.
2016-12-01 01:23:52 -08:00
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