Commit Graph

7393 Commits

Author SHA1 Message Date
Camilo Roca 116dbca78a refactor PredPrediction and DFAState to es6 classes 2020-02-10 21:58:44 +01:00
Camilo Roca 82d51aee99 use const/let
use module exports instead of exports
2020-02-10 21:56:40 +01:00
Camilo Roca 772286cf00 refactor DFASerializer and LexerDFASerializer to ES6 classes 2020-02-10 21:54:23 +01:00
Camilo Roca e5910c3019 use object destructuring 2020-02-10 21:52:26 +01:00
Camilo Roca a8e8402b77 refactor DFA function prototype into es6 classes 2020-02-10 21:51:11 +01:00
julibert 4a4fc30153
Update contributor.txt 2020-02-10 13:53:56 +01:00
julibert b37d2e3815
Fix CMake packaging. 2020-02-09 20:01:24 +01:00
Terence Parr 1177c0b58d Merge pull request #2742 from carocad/error-classes
Javascript: migrate prototypical error object to es6 classes
2020-02-09 10:07:23 -08: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 d8435e13c3 removed conditional nodejs import in favour of webpack bundle
use const/let instead of var
use object destructuring
fix: missing new statement for DOM file reader
2020-02-07 14:08:19 +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
Camilo Roca 7fc2180166 contributors.txt signed [skip ci] 2020-02-03 22:52:28 +01:00
Camilo Roca 18f5f3cd27 fix: bump nodejs test version to support classes 2020-02-03 20:31:57 +01:00
Camilo Roca aeebc0bb0b fix: use module.exports instead of exports to follow node best practices
cosmetic changes
2020-02-02 23:52:47 +01:00
Camilo Roca a7017d1a49 missing const 2020-02-02 23:43:12 +01:00
Camilo Roca 19458051c0 refactored error directoryto use classes, const and let 2020-02-02 23:37:21 +01:00
Terence Parr 2d7f727a00
Merge pull request #2733 from vinoski/cpp-set-token-factory
Fix #2727: improve setTokenFactory in Cpp target
2020-01-24 08:20:19 -08:00
Steve Vinoski 38200b6e31 Fix #2727: improve setTokenFactory in Cpp target
Change the setTokenFactory template functions and the getTokenFactory
functions to use a plain pointer rather than a Ref. This makes the
caller of setTokenFactory responsible for managing the lifetime and
memory of the token factory instance they pass in. Change
CommonTokenFactory::DEFAULT to be a unique_ptr, and correct all places
using it as a Ref.
2020-01-24 08:11:41 -05:00
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 f1ffc01723 [maven-release-plugin] prepare for next development iteration 2020-01-18 13:37:08 -08:00
parrt 3f41f283d1 [maven-release-plugin] prepare release antlr4-master-4.8-1 2020-01-18 13:37:01 -08:00
parrt fa499e4215 update travis to python 3.7 2020-01-18 11:09: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 f9cb658daa Update PHP Runtime to latest version 2020-01-18 10:20:39 -08:00
parrt a872114f61 trying to get 4.8-1 to fix release 2020-01-18 10:07:26 -08:00
parrt 6c4b491d1b set version to 4.8-1 to fix release 2020-01-18 09:39:46 -08:00
parrt 68fd66dd49 add doc for releasing 2020-01-16 15:46:58 -08:00
parrt 42512526f9 update javascript target to 4.3 2020-01-16 12:39:52 -08:00
parrt 666131841c [maven-release-plugin] prepare for next development iteration 2020-01-16 12:24:30 -08:00
parrt d569f91795 [maven-release-plugin] prepare release 4.8 2020-01-16 12:24:22 -08:00
parrt 6ad9646382 update version in code to 4.8 2020-01-16 12:18:17 -08:00
parrt 74c92f2e64 update doc to 4.3 2020-01-16 12:07:07 -08:00
parrt 441fea52b1 update to 4.3 version 2020-01-16 12:05:03 -08:00
Terence Parr 691acdc23f
Merge pull request #2711 from mike-lischke/master
C++ VS project updates for next ANTLR4 release
2020-01-03 08:32:32 -08:00
Mike Lischke e47fd9d918 Brought back a lost comment and fixed a description. 2020-01-03 14:57:04 +01:00
Mike Lischke d295462e2e Doc update for C++ target and fixes for VS 2019 builds 2020-01-03 11:54:30 +01:00
Mike Lischke c487b1a580 Create pre-built binaries for VS 2017/19 instead of older VS versions 2020-01-03 09:01:13 +01:00
Mike Lischke 8c9803481d Merge branch 'master-upstream' 2020-01-03 08:56:34 +01:00
Terence Parr ff67971f85
Merge pull request #2704 from ewanmellor/appveyor-php-74
[PHP] Fix AppVeyor tests
2019-12-17 11:17:49 -08:00
Terence Parr 1c7ccb933c
Merge pull request #2705 from marcospassos/patch-1
Add the submodule update step to the release docs
2019-12-17 11:15:27 -08:00
Marcos Passos cc0882c8cb
Add the submodule update step to the release docs 2019-12-17 16:12:16 -03:00
Ewan Mellor ce59e171cb
[PHP] Fix AppVeyor tests
Install PHP to C:\tools\php.  This fixes the AppVeyor tests, because
they were looking in C:\tools\php73, but the Chocolatey package has
recently moved to 7.4.
2019-12-17 09:53:59 -08:00
Terence Parr 4da24a261f
Merge pull request #2673 from zqlu/fix-javascript-pkg-main
Fix main entry point for JavaScript runtime npm package
2019-12-15 09:03:10 -08:00
Terence Parr b8e65bfca9
Merge pull request #2679 from tehbone/master
Fix placement of @members in Javascript target lexers
2019-12-15 09:02:08 -08:00
Terence Parr 340b95bded
Merge branch 'master' into master 2019-12-15 09:01:48 -08:00
Terence Parr 8ae756a025
Merge pull request #2472 from Roomle/fix/CppEmscripten
fix cpp cmake for emscripten
2019-12-12 09:18:30 -08:00
Markus Zancolo 1565143529
Merge branch 'master' into fix/CppEmscripten 2019-12-12 10:56:42 +01:00