Comments (5)
The version also interferes with other tools like hydra that also use antlr.
from rtamt.
The reason that we use antlr4-python3-runtime>=4.5, <4.6 in setup.py is that the parser is generated using ANTLR 4.5. If we force install the version 4.9, we get warnings "ANTLR runtime and generated code versions disagree: 4.9.3!=4.5.1".
Moreover I do not see it as a robust solution, because some other applications may require other versions of ANTLR-runtime (the version 4.10 is out and does not see to be backwards compatible). Unless there is a good argument against, I would prefer to keep the version 4.5 as the default for now.
from rtamt.
Is there any information regarding compatibility for antlr runtime and generated versions (I was unable to find a compatibility matrix)? If there were a more recent version that the generated version could be updated to (4.6 is from 2016) and that is compatible with multiple versions, at least some dependency conflicts with recent tools could be avoided.
from rtamt.
I could not find any compatibility information, but by trying different version, everything between v4.5 and 4.9 included seems to work, and 4.10 does not seem to be backwards compatible.
from rtamt.
As a compromise, I recompiled the parser and the lexer with ANTLR4 v4.7 (the default version in Ubuntu 18.04 LTS) and updated the setup.py accordingly. However, if one uses in the same flow two applications with ANTLR4 grammars compiled with different versions of ANTLR4, I do not see how to avoid the warning messages.
from rtamt.
Related Issues (20)
- get_spec_from_file() HOT 1
- sampling methods in discrete online HOT 1
- How about rename node.name to node.id HOT 1
- Location of visitVariable and visitConstant in online HOT 1
- rtamt/tests/python/ast/test_ast_visitor.py HOT 1
- rtamt/tests/python/ast/test_stl_ast_parser.py HOT 1
- Handling unit with Fraction HOT 3
- IASTL refactoring HOT 2
- PyPi package installs antlr version for python 2 and 3
- Rename from evaluator to interpreter HOT 3
- naming of LTLPastifyException HOT 1
- test_division test case difference between Python and C++ HOT 2
- exception refactoring HOT 2
- Until operator showing key error HOT 1
- ValueError: max() arg is an empty sequence when eventually[time] too long HOT 1
- RTAMT AST data structure document
- AST access HOT 2
- introduction of sub_specs changes robustness traces HOT 1
- Running RTAMT fails due to incorrect antlr version HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rtamt.