Comments (1)
Fixed in 6218a49a2e. No performance impact on grammars without predicates. Appears to have minimal impact on grammars with LR rules as the only predicates (slight performance hit, slight memory improvement from fewer ATNConfig
instances). Not yet tested on grammars with more complicated user predicates.
from antlr4.
Related Issues (18)
- Implement eager pruning of shadowed configs
- Optimize storage of configs in the DFA
- Optimize storage of the PredictionContext cache
- RuleDependencyProcessor reports wrong element for multiple dependencies
- Reduce contention in DFA HOT 2
- Automatic left factoring does not support labels
- Imported parser grammar with left-recursive fails to build
- Implement support for NONCONFORMING_LR_RULE
- Preserve DFAState cache for context-sensitive DFA when possible HOT 1
- @baseContext does not work HOT 2
- Provide more readable result for org.antlr.v4.runtime.TokenStream#getText(java.lang.Object, java.lang.Object) HOT 2
- Reduce memory overhead in getConflictingAlts HOT 1
- Eliminate unnecessary lookahead in execDFA HOT 1
- Use factory methods to create parser context objects
- Move parser action blocks to their own methods (similar to lexers)
- Support runtime metadata for ATN nodes
- Cache local closures (1-to-many epsilon edge collapsing)
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 antlr4.