Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2089 commits
Select commit Hold shift + click to select a range
c4a4442
fix: Change codegen and runtime to eliminate panic() and recover() as…
jimidle Mar 17, 2023
c6bbbd3
feat: Another 50%+ performance improvement
jimidle Mar 18, 2023
76bb3e1
[Typescript] Add missing methods typing declaration (#4145)
hieunguyen2211 Mar 22, 2023
91e2909
do not modify String.prototype in js package (#4200)
jharris4 Mar 22, 2023
f1b8982
Issue #4185: Too many artifacts fail to upload (#4186)
hs-apotell Mar 22, 2023
3a62248
feat: Stop using pointers for INterval class
jimidle Mar 19, 2023
fc38127
feat: Refactor PredictionContexts so that it does not use an interface
jimidle Mar 20, 2023
bb5d674
feat: Remove ocde and structs that are now replaced
jimidle Mar 20, 2023
4196a07
feat: Incorporate predefined variables for empty cache into the one p…
jimidle Mar 20, 2023
7e60bb9
fix: Tiny correct to parent check for singleton context
jimidle Mar 24, 2023
2f396b3
fix: Correct config cache comparators improvie performance
jimidle Mar 28, 2023
84c22a8
fix: Correct comparison functions for PredictionContexts not they are…
jimidle Mar 28, 2023
7a2c3c3
fix: Properly fix the context caching so that it exactly relfects Java
jimidle Mar 28, 2023
62d8439
feat: Stop using interfaces for ATNConfigSets
jimidle Mar 28, 2023
4476b9b
fix: Remove useless Getters and Setters
jimidle Mar 28, 2023
18b5bbf
fix: Get rid of interface for ATNConfig
jimidle Mar 28, 2023
2e93c77
Merge branch 'dev' into feature/performance
Mar 28, 2023
3b923fa
fix: As suspected, merging on GitHub went slightly wrong.
jimidle Mar 28, 2023
86bc5cb
fix: remove new memory handler from this brnach
jimidle Mar 28, 2023
ce241de
Merge branch 'jimidle-feature/performance' into dev
parrt Mar 29, 2023
421ab7e
feat: Clean out redundant code and stupid code, implement lazy init o…
jimidle Mar 29, 2023
bec4ec6
feat: Adds memory optimizations and compile time optional statistics
jimidle Apr 8, 2023
cce6eb8
feat: back out of lazy initilization for config sets - it needs anoth…
jimidle Apr 11, 2023
d2db753
feat: Used dedicated map for visit cache - improves memory and speed …
jimidle Apr 11, 2023
dc0ae0e
fix: ensure Statistics.Reset() zeros out top collections by usage on …
jimidle Apr 11, 2023
449ee33
feat: Remove pointer embedding of parser rule context
jimidle Apr 11, 2023
dd31a04
feat: Corrects the test template when looking at parse tree correctness
jimidle Apr 11, 2023
da1c39a
Remove redundant __name__ check in multiple files
Tameem97 Apr 10, 2023
4b5a7e3
Added support for commonjs
Tarjei400 Apr 1, 2023
a9e6978
Added tests for commonjs and esm imports, made webpack config more co…
Tarjei400 Apr 11, 2023
d34aa41
Fixed typo in webpack config, shortened commonjs test, to use solely …
Tarjei400 Apr 13, 2023
c9cf891
feat: Spruce up the internal testrig for Go runtime maintainers
jimidle Apr 12, 2023
f17f3b1
fix: Modify gitignore to exclude stuff in Go tesetrig that shoudl not…
jimidle Apr 12, 2023
237d4ef
fix: Ensure that all versions of the antlr tool jar are ignored
jimidle Apr 12, 2023
a10669a
feat: Remove internal test rig from the go runtime source
jimidle Apr 13, 2023
6e89287
feat: revert .gitignore to pre go internal directory
jimidle Apr 13, 2023
5995022
Add support to Golang codegen for booleans
mdehoog Apr 16, 2023
9cf07c1
feat: Clean up input streams and add an IO stream
jimidle Apr 17, 2023
518121f
fix: Ensure that file input stream is size in runes
jimidle Apr 17, 2023
3aff09a
feat: Adds actual usable @ actions to the go templates
jimidle Apr 18, 2023
2406774
fix: Allow CommonTokenStream to reset properly
jimidle Apr 23, 2023
57ba1e4
feat: Make static data available outside the generated parser code
jimidle May 5, 2023
8943efa
feat: Make closureCheckingStopState iterative rather than recursive
jimidle May 5, 2023
59ae029
modify cpp codegen template to generate lock-free cpp lexer&parser
wangtao9 Apr 17, 2023
e0b448e
add lockFreeCppTarget option to generate lock-free Cpp lexer
wangtao9 Apr 18, 2023
c7bc152
fix boolean option -lock-free-cpp-target
wangtao9 Apr 25, 2023
b766604
remove string option lockFreeCppTarget of grammar
wangtao9 Apr 25, 2023
afe5212
use compile-time macro instead of generate-time option
wangtao9 Apr 26, 2023
8b53ac1
remove useless codegen option
wangtao9 Apr 26, 2023
5f27feb
update doc cpp-target.md
wangtao9 May 4, 2023
76a63cd
minor fix doc
wangtao9 May 4, 2023
4d19010
fix review comments
wangtao9 May 4, 2023
aed321c
update doc/cpp-target.md
wangtao9 May 5, 2023
bd09a46
Exporting syntaxErrorsCount
May 3, 2023
2c07aa8
Update base image to add multi-arch support
Prashant-Jagtap Nov 30, 2022
5d1fd1a
Update releasing-antlr.md
parrt May 12, 2023
aa40c19
fix warnings
ericvergnaud May 17, 2023
cae2b22
Fix type hint
ericvergnaud May 17, 2023
4ad724f
Get rid of static class generation for properties
KvanTTT Apr 14, 2023
8fe211b
Get rid of static class generation for property aliases
KvanTTT Apr 14, 2023
4ee259e
Fix indents in unicodedata.st
KvanTTT Apr 14, 2023
e65f0ab
Update icu dependency (71.1 -> 72.1)
KvanTTT Apr 14, 2023
188bfd4
Move the metadata from `setup.py` into `setup.cfg`
KOLANICH Mar 2, 2023
da4968a
Add `pyproject.toml` according to `PEP 517` & `PEP 518`
KOLANICH Mar 2, 2023
f6040f0
Remove `setup.py`. Building should be done using `python3 -m build`
KOLANICH Mar 2, 2023
d06a6d5
Move the metadata into `PEP 621`-compliant `pyproject.toml`.
KOLANICH Mar 2, 2023
c9952af
Started collecting submodules automatically
KOLANICH Mar 2, 2023
a69935a
doc: Update the readme at the root of the Go Runtime
jimidle May 17, 2023
4af8a2b
doc: Update the main package docs for the upcoming release
jimidle May 17, 2023
a553fb7
docs: Small tweak to represent generated code location in a neater fa…
jimidle May 17, 2023
4bf93cc
doc: Bump version of the ANTLR tool specified in the docs
jimidle May 17, 2023
8a2a1b8
docs: Write release notes and new instrcutions for using the Go target.
jimidle May 17, 2023
f8535b3
doc: Correct the name of the new ANTLR go repo
jimidle May 18, 2023
d35ffa7
feat: Switch code generation over to the new antlr4-go/antlr repo, up…
jimidle May 18, 2023
7d39301
feat: Move to new Go repo
jimidle May 18, 2023
bb63105
fix: Remove go.mod from v1 tree - it wasn't being found anyway
jimidle May 19, 2023
29cf908
feat: Use the latest version of x/exp
jimidle May 19, 2023
6e03105
doc: Make sure that we are using the latest LICENSE file inthe go module
jimidle May 19, 2023
134eda9
bump version to 4.13.0-SNAPSHOT in poms, regen XPath lexers.
parrt May 21, 2023
a9639d0
Merge branch 'dev'
parrt May 21, 2023
c630cb6
Update version in many files to 4.13.0
parrt May 21, 2023
ffe0eef
Merge branch 'master' of github.com:antlr/antlr4
parrt May 21, 2023
5dc2a29
Update version in more files to 4.13.0
parrt May 21, 2023
37585e4
Update js package-lock.json
parrt May 21, 2023
0ae86c2
[maven-release-plugin] prepare release 4.13.0
parrt May 21, 2023
4770a23
[maven-release-plugin] prepare for next development iteration
parrt May 21, 2023
873a01c
Update py build release doc
parrt May 21, 2023
628602d
Update dotnet to the latest version (6 -> 7)
KvanTTT May 24, 2023
b7b8135
fix go-target.md, remove duplicate get
css521 May 29, 2023
5d7b514
fix: #4128 - Prevent generating escape sequences when Windows directo…
jimidle May 23, 2023
7ed901d
Add test with grammar name that starts with u
KvanTTT May 31, 2023
e85d3e2
Simplify Java testing infrastructure
KvanTTT Jun 1, 2023
69bcc21
Remove setting buildParseTree=true because it's default value
KvanTTT Jun 1, 2023
8fbce66
Remove duplicated lines from Test.dart.stg
KvanTTT Jun 1, 2023
3f91870
Introduce PredictionMode testing (SLL and LL)
KvanTTT May 10, 2022
f0b9e22
Introduce `buildParseTree` testing (true and false)
KvanTTT Jun 1, 2023
a004a76
Fixed file paths used in `package.json#exports.types`
Andarist Jun 1, 2023
96f9770
fixed paths to use actually existing files
Andarist Jun 2, 2023
d2e2584
Remove stray type annotations from Python2 runtime
agatti Jun 15, 2023
f024ec1
Removed Python2 target.
kaby76 Jun 25, 2023
b6ea82f
Add "writing target-agnostic grammars".
kaby76 Jun 26, 2023
84a6fa8
Remove conflicts that somehow got inserted in the text.
kaby76 Jun 26, 2023
f7bea2a
Renamed "index.md" into "README.md" to fit into Github to display the…
kaby76 Jun 27, 2023
ec00837
Improvement to the text.
kaby76 Jun 27, 2023
0ea2bdb
Add symbolic linked "index.md" files for backward compatibility.
kaby76 Jun 27, 2023
5e3da1a
Delete first symbolic linked files.
kaby76 Jun 27, 2023
c4e676b
Add in hard linked files index.md (aka README.md).
kaby76 Jun 27, 2023
3002f02
Rollback renaming of "index.md" to "README.md". There are websites ou…
kaby76 Jun 27, 2023
b7268dd
Undo add of index.md.
kaby76 Jun 27, 2023
d4d4bea
Fix indented code blocks to line up with bullet items. Add note to "U…
kaby76 Jun 27, 2023
1404100
Tone down emphasis in readme.md. Fix grammar in python-target.md. Fix…
kaby76 Jun 28, 2023
75700f9
Improve discussion of target-agnostic format.
kaby76 Jun 28, 2023
ad708f9
More wordsmithing.
kaby76 Jun 28, 2023
2965954
Wordsmithing.
kaby76 Jun 28, 2023
58d5d55
Wordsmithing parse tree traversal section.
kaby76 Jun 28, 2023
ce7f5e7
Wordsmithing.
kaby76 Jun 28, 2023
832b202
Adds default targets for babel configuration
ncordon Jun 21, 2023
a27cf84
[SWIFT] Add Antlr4Dynamic product
GrzegorzSpryszynski-TomTom Jul 19, 2023
9bd489a
fix: suppress `this-escape` warning introduced in JDK 21.
oraluben Aug 26, 2023
e0df58f
Restore "Obtained from string" source name.
googleberg Aug 28, 2023
ff4cfae
Change signatures for ReportAttemptingFullContext() and ReportContext…
kaby76 Aug 29, 2023
d02ea0b
Fix for #4320--export additional types of the Dart runtime.
kaby76 Jun 30, 2023
d13d47c
Fix typing
ericvergnaud Jun 19, 2023
73b0dba
fix last Reproducible Builds issue
hboutemy May 21, 2023
940a704
fix: Fix very minor code issues spotted by goreportcard.com
jimidle May 19, 2023
a5602db
fix: Trivial format corrections
jimidle May 19, 2023
dae2d27
Move GetText(), SetText(), and String() from CommonToken to BaseToken
googleberg Aug 28, 2023
1a96b1c
Cleanup duplicate SwiftTarget code
tisonkun Jun 29, 2023
a658835
Merge dev into master for 4.13.1
parrt Sep 4, 2023
e9df464
Update 4.13.0 strings to 4.13.1
parrt Sep 4, 2023
5a7b4d4
Merge branch 'dev' into fix-dependabot-warnings
ericvergnaud Sep 4, 2023
734bd75
Merge branch 'ericvergnaud-fix-dependabot-warnings' into dev
parrt Sep 4, 2023
8a008b5
Merge branch 'dev'
parrt Sep 4, 2023
80773cf
Update more 4.13.0 strings to 4.13.1
parrt Sep 4, 2023
b0dd6da
Update javascript with npm
parrt Sep 4, 2023
ca6301c
Tweak javascript release doc
parrt Sep 4, 2023
7ed420f
[maven-release-plugin] prepare release 4.13.1
parrt Sep 4, 2023
1855d9a
[maven-release-plugin] prepare for next development iteration
parrt Sep 4, 2023
475d790
[JavaScript] Document Node.JS v16 requirement (#4355)
aloisklink Sep 5, 2023
200e10c
Export DefaultErrorStrategy (#4278)
hieunguyen2211 Sep 5, 2023
65dfe0d
Merge branch 'master' into dev
parrt Sep 5, 2023
98d6fab
Add "override" before EOF in TS
GP4cK Aug 3, 2023
9043b8a
fix: package.json entrypoints
Codex- Sep 6, 2023
0eb38a0
Update python-target.md (#4417)
eleveyuan Sep 15, 2023
487cb28
fix: TypeScript: incorrect type in CommonTokenStream
johannesheesterman Sep 26, 2023
2e718eb
fix: tweak word antrl to antlr (#4459)
h3n4l Nov 2, 2023
d25d421
docs: fix wrong way to import in go
KevinZonda Oct 28, 2023
28eb036
Implement consistent file extensions for Typescript imports (#4492)
ericvergnaud Dec 15, 2023
ebb511a
Update README.md
ericvergnaud Jan 12, 2024
d0440f4
added Token.DEFAULT_CHANNEL and Token.HIDDEN_CHANNEL (#4516)
RobEin Jan 21, 2024
3c06d0a
Update README.md
ericvergnaud Jan 29, 2024
d0ddb32
Generate meaningful exception message on checkVersion() failure (#4522)
raffaellod Feb 7, 2024
8127454
Fix missing export of TokenStreamRewriter (#4529)
weilence Feb 18, 2024
851ddee
fix: Suppress this-escape warning in generated Parser introduced in J…
nielsbasjes Dec 10, 2023
f08a19b
Remove dead link
ericvergnaud Feb 24, 2024
bb48237
Only log exceptions (for example LexerNoViableAltException) if debug …
multiarc Feb 19, 2024
40b4942
update CharStreams usage and revert change for exception logging
multiarc Feb 25, 2024
1b3150b
Fix static method usage
multiarc Feb 26, 2024
3658336
add test spec
ericvergnaud Mar 8, 2024
cb195da
use array view
ericvergnaud Mar 8, 2024
e6ca29d
oops
ericvergnaud Mar 8, 2024
967be76
refactor BitSet API
ericvergnaud Mar 8, 2024
c3692cc
document algorithm
ericvergnaud Mar 9, 2024
0908b58
more tests
ericvergnaud Mar 9, 2024
b49838a
fix formatting
ericvergnaud Mar 10, 2024
2865844
reuse slot
ericvergnaud Mar 10, 2024
7d4ad89
add test spec for HashSet
ericvergnaud Mar 8, 2024
1f5e64b
improve HashSet performance
ericvergnaud Mar 8, 2024
69cfd8e
implement faster HashMap and test spec
ericvergnaud Mar 8, 2024
b4c12ec
Add parse listener methods to Parser typescript
Phlosioneer Mar 16, 2024
6ba4f8c
depricate some methods
RobEin Mar 18, 2024
4a1963b
Add override specifier to typescript copyfrom codegen
Phlosioneer Mar 16, 2024
990fbc2
fix missing 'this'
ericvergnaud Mar 22, 2024
0d30259
Fixing crash bug in TokenStreamRewriter
hs-apotell Mar 26, 2024
2244af3
Fix incorrect this.channel access
Phlosioneer Mar 31, 2024
6628b00
golang: Add to quick checks to PredictionContext Equals checks (they …
ehmm Apr 1, 2024
b486ce7
[JS] Fix Parser.getSourceName returning undefined
Phlosioneer Apr 2, 2024
360c86c
add missing constants
ericvergnaud Apr 7, 2024
281b762
Export InputMismatchException in index.js
hieunguyen2211 Apr 9, 2024
6a71782
Fix Github Actions
andreasbuhr Apr 10, 2024
380ce4b
Switch CI to macos-12 and PHP 8.3
andreasbuhr Apr 10, 2024
c0b7dd0
Fix Linux compilation issue of ProfilingATNSimulator
WillDignazio Apr 18, 2024
41b9360
feat: Catch up 4.13.1 minor fixes and performance improvements
jimidle May 15, 2024
057bd36
feat: Catches up minor performance improvements and adds a build tag …
jimidle May 15, 2024
2647323
feat: Fix accidental keypress
jimidle May 15, 2024
6197d6c
Update C++ documentation to state that C++17 is required
andreasbuhr Apr 10, 2024
7d4cea9
Fix singleton memory leaks
May 15, 2024
b3bb743
chore: fix error link
caicancai Jul 6, 2024
17f3f5e
Add include dirs direclty to cpp targets
Jul 22, 2024
caf46b9
[Python3] Replace deprecated `assertEquals()` to fix py3.12 compat
mgorny Apr 14, 2024
88a0c7a
Support TypeScript bundler module resolution
guidsdo Jun 21, 2024
e8bf978
rule name 'state' conflict with Python runtime.
cyqw Jun 29, 2023
2559349
fix(javascript): fix types not being recognized for NodeNext module r…
KurtGokhan Jul 28, 2024
35ff30d
Update release docs to say 4.13.2; rebuild XPathLexers
parrt Aug 3, 2024
b91cecf
Update 4.13.1 -> 4.13.2
parrt Aug 3, 2024
cc82115
[maven-release-plugin] prepare release 4.13.2
parrt Aug 3, 2024
39401b7
[maven-release-plugin] prepare for next development iteration
parrt Aug 3, 2024
34d7366
Missed an update to 4.13.2
parrt Aug 3, 2024
811b7fd
update C++ target build
parrt Aug 3, 2024
0fd88ba
Update to eclipse-temurin:21 and remove appuser (#4675)
james-m-henderson Sep 14, 2024
eec3ff1
Fi failing tests
ericvergnaud Sep 16, 2024
2a7904a
Add projects to test typescript support with different compiler optio…
JesusTheHun Sep 17, 2024
ce2557f
Add LexerNoViableAltException typescript class (#4711)
happytomatoe Oct 6, 2024
933c4e0
Explicitly ignore unused var in TypeScript (#4709)
guidsdo Oct 11, 2024
75befab
Improve Python version handling (#4726)
cjwatson Nov 9, 2024
c251d2d
Adding Typescript definition files to export Trees module. (#4718)
ZengLawrence Nov 22, 2024
2c5cc31
Py runtime: Move to relative imports (#4705)
pelson Nov 22, 2024
6722835
fix(JS: ErrorListener types) (#4731)
Nov 22, 2024
d813198
Use Collections.EmptyList where applicable (#4762)
Corniel Feb 5, 2025
388faba
Bump GH action
ericvergnaud Feb 5, 2025
d4b5dcf
Bump GH action
ericvergnaud Feb 5, 2025
9031d84
bump macos in github
ericvergnaud Feb 5, 2025
dee6265
Add option for splitting generated Java parser into 3 files (#4764)
ericvergnaud Feb 8, 2025
df4d68c
Include <chrono> for high_resolution_clock (#4738)
LilyWangLL Feb 28, 2025
e9501a0
Add IWYU pragmas to indicate that the headers export symbols. (#4785)
hzeller Mar 7, 2025
ea9cf6a
Use 'override' in virtual methods of derived classes. (#4790)
hzeller Mar 9, 2025
af7edc5
Fix a couple missing standard headers (#4791)
hzeller Mar 9, 2025
01ff8a8
Add include `antlr4-common.h` to files using symbols from it. (#4792)
hzeller Mar 9, 2025
03f124b
Fix typo in cpp readme (#4786)
nibblerenush Mar 9, 2025
ec1b5f3
Add top missing antlr4 headers inside impl. (#4793)
hzeller Mar 9, 2025
5435f14
More header includes towards each file being self-contained (#4794)
hzeller Mar 10, 2025
7b53e13
RuleContext: remove superfluous operator== (#4799)
hzeller Mar 19, 2025
cb85012
fix(JS: BitSet): Export the BitSet class as it is now used in the Err…
hutcheb Apr 3, 2025
09d527f
Fix a CMake v4.0.0 build error (related to `googletest`) (#4808)
0xENDER May 24, 2025
5b450d8
Bump deprecated ubuntu
ericvergnaud Jun 25, 2025
6a15cc3
Update Parser.d.ts (#4856)
dudemaga Jun 26, 2025
bd8f993
[Cpp] CMake: use variables for specifying install paths consistently …
jmairboeck Sep 2, 2025
ba15099
Merge remote-tracking branch 'remotes/top/dev' into rust-target
cyqw Sep 19, 2025
7fdeea6
update for latest antlr
cyqw Sep 19, 2025
d6876e1
compile rust runtime only one time, faster rust target test in runtim…
cyqw Jul 11, 2025
cade125
fix some issues for test
cyqw Jul 11, 2025
d2459fc
fix initial value of StringList return test for ReturnValueAndActions_1
cyqw Jul 11, 2025
280364d
support dfa testcases
cyqw Jul 11, 2025
da827ab
fix test cases with action
cyqw Jul 12, 2025
c6235cc
commit generated files
cyqw Jul 12, 2025
3b5e508
update for generated files
cyqw Jul 12, 2025
9d44a04
delete deprecated files
cyqw Aug 31, 2025
3407f54
pass dfa test cases
cyqw Aug 31, 2025
837f565
test cases for argument of rule
cyqw Aug 31, 2025
adfca35
TokenType0xFFFF test case
cyqw Sep 1, 2025
a4286c4
fix lexer stack overflow issue
cyqw Sep 9, 2025
bf76cbf
fix dfa state hash conflict issue, some states may have same hash, ca…
cyqw Sep 18, 2025
62c70f7
fix issue for PredictionIssue334 test
cyqw Sep 18, 2025
10c7d57
fix issue for PositionAdjustingLexer test
cyqw Sep 18, 2025
a1beb17
skip UnicodeCharSet test for Rust, because inputstream is index by byte
cyqw Sep 19, 2025
720f50d
support linux system
cyqw Sep 19, 2025
7c2c43d
remove native argument for rustc
cyqw Oct 8, 2025
b44805c
rollback the input stream index data type to isize
cyqw Oct 8, 2025
13d8bca
Merge remote-tracking branch 'remotes/antlr4rust/rust-target' into ru…
cyqw Oct 17, 2025
6f14c6a
Merge remote-tracking branch 'remotes/antlr4rust/rust-target' into ru…
cyqw Oct 21, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 20 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
# This section defines defaults for all languages. Currently we derive ANTLR style from LLVM.
BasedOnStyle: LLVM
# Only use clang-format for C++ for now.
DisableFormat: true

---
# This section configures C++ formatting.
Language: Cpp
DisableFormat: false
Standard: c++17
# Prevent clang-format from attempting to pick the alignment and always use right alignment.
DerivePointerAlignment: false
# ANTLR existing style is to right align pointers and references.
PointerAlignment: Right
ReferenceAlignment: Right
# Some of ANTLR existing code is longer than the default 80, so use 100 for now.
ColumnLimit: 100
# Historically ANTLR has used indentation within namespaces, so replicate it.
NamespaceIndentation: Inner
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,11 @@ charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
ij_java_else_on_new_line = true

[*.{h,cpp}]
charset = utf-8
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = space
indent_size = 2
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This rule applies to all files which don't match another line below
* text=auto
* text=auto
15 changes: 11 additions & 4 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
<!--
Before submitting an issue to ANTLR, please check off these boxes:

- [ ] I am not submitting a question on how to use ANTLR; instead, go to [antlr4-discussion google group](https://groups.google.com/forum/#!forum/antlr-discussion) or ask at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4)
All ANTLR contributors provide implementation, maintenance and support for free.
We therefore kindly ask that before submitting any issue to ANTLR, you please check off these boxes:

- [ ] I have reproduced my issue using the latest version of ANTLR
- [ ] I have asked at [stackoverflow](http://stackoverflow.com/questions/tagged/antlr4)
- [ ] Responses from the above seem to indicate that my issue could be an ANTLR bug
- [ ] I have done a search of the existing issues to make sure I'm not sending in a duplicate

Please include information about the expected behavior, actual behavior, and the smallest grammar or code that reproduces the behavior. If appropriate, please indicate the code generation targets such as Java, C#, ... Pointers into offending code regions are also very welcome.
Please include the following information:
- target information (Java, C++ ...)
- smallest possible grammar and code that reproduces the behavior
- description of the expected behavior and actual behavior
Pointers to suspicious code regions are also very welcome.
-->
24 changes: 21 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
<!--
Thank you for proposing a contribution to the ANTLR project. In order to accept changes from the outside world, all contributors must "sign" the [contributors.txt](https://github.com/antlr/antlr4/blob/master/contributors.txt) contributors certificate of origin. It's an unfortunate reality of today's fuzzy and bizarre world of open-source ownership.
Thank you for proposing a contribution to the ANTLR project!

Make sure you are already in the contributors.txt file or add a commit to this pull request with the appropriate change. Thanks!
-->
(Please make sure your PR is in a branch other than dev or master
and also make sure that you derive this branch from dev.)

As of 4.10, ANTLR uses the Linux Foundation's Developer
Certificate of Origin, DCO, version 1.1. See either
https://developercertificate.org/ or file
contributors-cert-of-origin.txt in the main directory.

Each commit requires a "signature", which is simple as
using `-s` (not `-S`) to the git commit command:

git commit -s -m 'This is my commit message'

Github's pull request process enforces the sig and gives
instructions on how to fix any commits that lack the sig.
See https://github.com/apps/dco for more info.

No signature is required in this file (unlike the
previous ANTLR contributor's certificate of origin.)
-->
Loading