Commit Graph

204 Commits

Author SHA1 Message Date
Terence Parr 2c4a55c10a Merge pull request #1849 from shravanrn/master
Fix the utf8 convertor for VS2017
2017-05-31 08:01:31 -07:00
Corey Kosak 381fddebd5 Make ParseTreeWalker::DEFAULT provide an IterativeParseTreeWalker
as intended.

The existing code intended for ParseTreeWalker::DEFAULT to provide a
IterativeParseTreeWalker. However, the implementation initialized
ParseTreeWalker::DEFAULT by doing a (value) copy of an
IterativeParseTreeWalker, which sliced the object and therefore,
unfortunately, transformed it back into a regular ParseTreeWalker.

This change implements the desired behavior. Furthermore by making DEFAULT
a reference, we are able to preserve the interface to existing code.
2017-05-29 22:21:01 -04:00
Will Fuqua efa8a1a9f8 sign the contributors.txt 2017-05-27 00:02:58 +07:00
Shravan Narayan 9220df2e37 Merge branch 'master' into master 2017-05-15 16:58:55 -07:00
shravanrn@gmail.com de6f04be0b Fix the utf8 convertor in VS2017 2017-05-15 16:53:05 -07:00
Jim Allman 5e648f0867 Add `new` keyword to return proper InputStreams
Currently the JS runtime sometimes returns (and mangles) the global
`window` object instead of a proper InputStream. This is prevented by
using the `new` keyword in all cases.
2017-05-11 16:27:42 -04:00
lys0716 6222dbff44 Correct typo in lexicon.md
’\’' should be ’\’

Signed-off-by: Yishuang Lu <luyscmu@gmail.com>
2017-04-12 16:57:08 -07:00
Jonas Auer 3e06a04594 Sign contributors.txt 2017-03-28 11:57:54 +02:00
Robert van der Hulst ef49021c8b Fixed portability problems in C# target. Also cleaned up some XML doc comments 2017-03-15 10:15:43 +01:00
Terence Parr bd1054a57e Merge branch 'master' into master 2017-03-10 13:54:21 -08:00
Terence Parr 197ea6e4e4 Merge branch 'master' into master 2017-03-10 13:53:14 -08:00
Tom Everett a1d76e33a2 Merge branch 'master' of https://github.com/antlr/antlr4
# Conflicts:
#	contributors.txt
2017-03-09 19:52:01 -07:00
Tom Everett 34329c3fc1 add to contributors 2017-03-09 19:05:08 -07:00
harry-tallbelt 2a118e284f Fixed null pointer exception for JS 2017-03-08 15:00:14 +02:00
chund 313ab9dcce Merge branch 'master' into master 2017-03-06 08:59:50 +01:00
D054757 154194c78d sign the contributors.txt certificate of origin 2017-03-03 13:51:56 +01:00
John Vasileff 524a78ab32 Add signoff to the contributors list 2017-02-26 00:26:39 -05:00
Thomasb81 1341d35f37 Merge branch 'master' into Issue_1666 2017-02-20 22:49:16 +01:00
thomasb8138 d8ef0cb09b Add contributor list 2017-02-20 22:35:15 +01:00
David Neumann e967463e91 Merge branch 'master' into master 2017-02-14 11:20:02 +01:00
David Neumann 426be8592c Merge branch 'master' into dotnetcore 2017-02-14 11:18:24 +01:00
Dong Xie 3d9f07e5fe update the contributors.txt file 2017-02-14 10:10:01 +00:00
David Neumann f0b865eea8 Updated the contributors list. 2017-02-14 09:14:49 +01:00
lionelplessis 895681044e Fix #1298 for CSharp 2017-02-10 17:55:10 +01:00
Terence Parr 97aaddc006 Merge branch 'master' into fix-missing-variable-declarations 2017-01-24 09:54:05 -08:00
Terence Parr 5b495bfb48 Merge branch 'master' into update-contributors 2017-01-24 09:52:12 -08:00
Ben Gertzfield 3a2d4e49f1 Add bhamiltoncx to contributors.txt 2017-01-23 14:04:15 -08:00
bekket mcclane 4f3785a29e Merge branch 'master' into master 2017-01-23 17:52:59 +08:00
mshockwave d733016fd4 fix wrong antlr4cpp runtime include path 2017-01-18 15:09:10 +08:00
Marcelo Rocha 23fd4a00f2 sign contributors.txt 2017-01-13 14:42:49 -03:00
robert 2fe1d8333f sign contributors.txt 2017-01-11 15:39:04 +00:00
Adrian Pop 8ab5f02f7d adapt code to compile with msys2 mingw compiler
- add required extra flags to the C++ compiler in CMakeLists.txt
- guard some code with _MSC_VER instead of WIN32
2016-12-24 01:38:28 +01:00
Akos Kiss de9e032f1b Update contributors.txt 2016-12-22 11:30:39 +01:00
parrt b2d67261f2 fix contributor 2016-12-11 15:15:23 -08:00
gaulouis fac04c8b79 Update contributors.txt 2016-12-12 00:07:03 +01:00
Sam Bloomberg 2f6421cfc1 added redxdev to contributors.txt 2016-12-03 15:50:19 -05:00
Samuel Tatasurya 4000e6f68e Signed contributors.txt 2016-12-01 01:47:37 -08:00
Denis Blank c8279a1d89 Fix a dangerous c-cast in the cpp codegen 2016-11-29 17:14:02 +01:00
Gary Miller fa31d6f708 Update contributors.txt 2016-11-29 12:18:51 +11:00
parrt b6eb4141cf update contributors 2016-11-25 12:46:16 -08:00
parrt 41dd8f2681 Merge branch 'patch-2' of git://github.com/MrSampson/antlr4 into MrSampson-patch-2 2016-11-25 12:44:52 -08:00
parrt 9d3415ed8a Merge branch 'master' of git://github.com/ghosthope/antlr4 into ghosthope-master 2016-11-25 12:28:14 -08:00
ghosthope a20a87fad6 typo 2016-11-25 17:56:04 +03:00
ghosthope cc59a359ae contributor name was added 2016-11-25 15:36:24 +03:00
Oliver Sampson 8b8afbf16c Update contributors.txt 2016-11-25 13:03:51 +01:00
Tom Wieczorek d1bc0f5ca5
Merge remote-tracking branch 'origin/master' into iterative-tree-walker 2016-11-25 12:25:27 +01:00
Tom Wieczorek cc59a699d4
Add myself to the list of contributors using the date of my first commit. 2016-11-25 12:16:48 +01:00
parrt aeaba48a0b pull in lygav python impl of TokenStreamRewriter 2016-11-22 12:34:46 -08:00
Marco Hunsicker cfc538bfdc Merge branch 'master' of https://github.com/antlr/antlr4 into fix_1233 to solve
Conflicts:
	contributors.txt
2016-11-21 19:23:48 +01:00
Marco Hunsicker 5612d1069e Signed certificate of origin 2016-11-20 14:00:59 +01:00
janyou 5ad9e4dfcb Update contributors.txt 2016-11-19 18:30:48 -08:00
Ewan Mellor 771e8e9c63 Sign the contributor's agreement. 2016-11-19 18:30:48 -08:00
parrt 3db55f1347 pull in contrib sig from renatahodovan 2016-11-19 14:14:24 -08:00
parrt d0620a65f5 Merge branch 'issue#1295' of git://github.com/harriman/antlr4-updates into harriman-issue#1295 2016-11-19 12:05:32 -08:00
parrt 5153154658 Merge branch 'fix_typos' of git://github.com/sebkur/antlr4 into sebkur-fix_typos 2016-11-19 11:52:17 -08:00
parrt b4d8982e95 Merge branch 'master' of git://github.com/NoodleOfDeath/antlr4 2016-11-17 10:31:43 -08:00
Kurt Harriman 3d8f81a63e update contributors.txt 2016-11-16 22:36:05 -08:00
sridharxp 13fbdbb840 Sign CLA 2016-11-16 13:24:16 +05:30
sridharxp 6e09f08348 InvokeRule without Fix without Temporary variable 2016-11-16 13:14:38 +05:30
hanjoes 35782f59ad Adding hanjoes to contributors.txt. 2016-11-15 14:59:21 -08: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 6d12b85e10 Update contributors.txt 2016-11-06 09:37:13 -05:00
Peter Boyer b444d51648 Fix contributors merge conflict 2016-11-05 13:58:08 -04:00
Peter Boyer 8ebd12918f Fix merge conflict 2016-11-05 12:32:33 -04:00
parrt 6d022379bc Pull in parrt's branch 'model-updates-for-new-targets' which appears to have freshened some non Go stuff as well. Simplify Go filename construction. 2016-11-05 08:48:37 -07:00
Mike Lischke e71e95080a Merge branch 'master_upstream'
Also updated the list of ignored tests in the Cpp.test.stg file (lke it is done for the other targets).
2016-11-05 15:07:59 +01:00
runner 1b7fc4119d sign cla
sign cla
2016-11-05 19:58:22 +08:00
Sebastian Kürten 3e1c0282a2 Update contributors.txt
Add Sebastian Kürten
2016-11-01 14:38:55 +01:00
kai stammerjohann af624e1321 contributors.txt update 2016-11-01 09:48:57 +01:00
Floor 951d0f06d7 cpp runtime: updated the vs2013 project reflecting the last changes 2016-10-21 13:07:15 +02:00
parrt 285c7fca6c resolve contribs conflict 2016-10-13 16:21:00 -07:00
Niels Basjes 0bf739fa73 Added Niels Basjes to the contributers list 2016-10-13 22:53:12 +02:00
parrt 4312b37828 pull test changes in 2016-10-13 10:58:19 -07:00
Christian Gudrian 07f57564ec Update contributors.txt
Added cgudrian
2016-10-13 07:41:17 +02:00
Peter Boyer 42347c078b Fix merge failure 2016-10-12 09:53:43 -04:00
Mike Lischke 3b98c1136e Merge branch 'master_upstream' 2016-09-25 11:31:51 +02:00
Burt Harris 9a7e0b5e4e Merge branch 'master' into fixGitignore
These are changes from the upstream master.
2016-09-23 14:47:33 -07:00
Vlad ae435d06c8 add TokenStreamRewriter to Python2 runtime 2016-09-02 15:36:11 +03:00
Andreas Jonson 6e780c90bb update the runtime paths to work in windows
the old paths contained a / at the beginning of the path e.g. "/C:/" but the expected path is "C:/" and due to this all test for the targets javascript, python and c# failed on windows.
2016-08-19 23:27:08 +02: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
Wolfgang Johannes Kohnen 9371c7900e Sign CLA. 2016-08-08 19:36:00 +02:00
Dan McLaughlin 6230fbe5d9 Add myself to contributor list 2016-08-05 08:35:15 -07:00
Mike Lischke d089c8d864 Manually merged pull request #26. 2016-08-01 09:20:36 +02:00
Tim O'Callaghan 6d33a6f19b updated contributors list with my details 2016-07-27 21:46:35 +02:00
Chris Heller bba03383d2 Bring chrisheller-patch-1 branch up to date 2016-07-23 01:37:09 -07:00
Mike Lischke e8766953da Added kosl90 to contributors list. 2016-07-21 11:05:48 +02:00
Chris Heller 3a1c803548 Add Chris Heller to contributors.txt
As requested for submitting contributions.
2016-07-20 21:13:22 -07:00
Nathan Burles ffd65e3ef4 Added to contributors.txt 2016-07-20 16:20:01 +01:00
Will Faught 24a26d90df Sign CLA 2016-07-18 17:20:59 -07:00
Mike Lischke 014d9fd593 Merge branch 'master' into feature/templates 2016-04-23 16:05:10 +02:00
Renata Hodovan 65a1f396de Remove unnecessary semicolons from Python targets.
The Python templates contained superfluous semicolons after
the sync call of errHandler. This patch removes them.
2016-04-13 21:15:23 +02:00
parrt 1356186f65 add get max token type to vocab. 2016-03-29 15:55:02 -07:00
Raphael R 7b9a7b5ec5 Update contributors.txt 2016-03-29 10:47:18 +02:00
Martin von Gagern 10756477ce Signing contributors.txt 2016-03-28 23:46:58 +02:00
Martin Steiger 420f4e0282 Update contributors.txt
Added msteiger
2016-03-28 22:10:36 +02:00
beardlybread ba64a1e001 documentation typos 2016-03-27 20:04:54 -04: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
David Tymon 121aba1bb8 pull in contrib 2016-01-28 11:09:52 -08:00
parrt ca5f65c731 Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1 Fixes #1081 2016-01-28 10:55:15 -08:00
parrt 34787c0fd8 Merge branch 'patch-1' of git://github.com/cooperra/antlr4 into cooperra-patch-1 Fixes #1081 2016-01-28 10:54:47 -08:00