Skip to content

Commit

Permalink
Upgrade to Antlr 4.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
amykyta3 committed Oct 12, 2023
1 parent 7d72e69 commit 8a73ddc
Show file tree
Hide file tree
Showing 34 changed files with 379 additions and 229 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
**/*.rpt
**/htmlcov
**/*.so
**/.idea

build/
dist/
Expand Down
4 changes: 2 additions & 2 deletions docs/dev_notes/antlr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ From: https://github.com/antlr/antlr4/blob/master/doc/getting-started.md
Download antlr4::

cd /usr/local/lib
sudo curl -O https://www.antlr.org/download/antlr-4.11.1-complete.jar
sudo curl -O https://www.antlr.org/download/antlr-4.13.1-complete.jar


Antlr API reference: http://www.antlr.org/api/Java/index.html
Expand All @@ -22,7 +22,7 @@ Upgrading the Antlr version
* Download latest jar file (See above)
* Install latest python packages::

python3 -m pip install --user -U antlr4-python3-runtime speedy-antlr-tool mypy
python3 -m pip install -U antlr4-python3-runtime speedy-antlr-tool mypy

* Download C++ runtime source distribution from https://www.antlr.org/download.html

Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def run_setup(with_binary):
cmdclass={"build_ext": ve_build_ext},
python_requires='>=3.5.2',
install_requires=[
"antlr4-python3-runtime >= 4.11, < 4.12",
"antlr4-python3-runtime >= 4.11, < 4.14",
"colorama",
"markdown",
],
Expand All @@ -82,6 +82,7 @@ def run_setup(with_binary):
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
Expand Down
4 changes: 2 additions & 2 deletions systemrdl/parser/SystemRDLLexer.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

40 changes: 20 additions & 20 deletions systemrdl/parser/SystemRDLParser.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions systemrdl/parser/SystemRDLVisitor.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion systemrdl/parser/ext/SystemRDLBaseVisitor.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion systemrdl/parser/ext/SystemRDLBaseVisitor.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 14 additions & 1 deletion systemrdl/parser/ext/SystemRDLLexer.cpp

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion systemrdl/parser/ext/SystemRDLLexer.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a73ddc

Please sign in to comment.