Comments (7)
no currently not. that would need to be added.
you may check out org.eclipse.xtext.xtext.generator.parser.antlr.splitting package
from xtext.
Simon, at a first glance the language grammar doesn't look as if it should trigger such a large generated method.
Can you confirm that all the manually inserted predicates are necessary?
from xtext.
@szarnekow I'll give them a review.
from xtext.
Upon reviewing all of our syntactic predicates, I managed to remove six of them. This brings us under the limit again, but still with little margin. I'll have a look to see whether it's doable to create a fragment which can reduce the size of the specialStateTransition
method as a longer term solution.
from xtext.
I managed to write a fragment that extracts code inside case
s into separate methods if there are many cases.
from xtext.
Do you intent to contribute this fragment? We could run it against all test languages in the Xtext repo.
from xtext.
With a holiday around the corner, I'm currently a bit hasty, but I suppose it can't hurt to contribute this. I'll add a reminder for once I'm back.
I suppose the same can be said about the ParserCompressorFragment2
?
from xtext.
Related Issues (20)
- Make Xtend use Java multi-line strings for Xtend multi-line strngs if Java 17 is the target version HOT 2
- Investigate failing ProgressReportingTest on lastest HOT 1
- JavaClasspathTest.testNoJavaInClasspath fails on latest HOT 33
- Eclipse is the best place to go to get a new one or more money HOT 1
- NPE is thrown, when editor is closed and the worker thread asks for the document HOT 4
- More Problems with upstream JDT changes / The Great Java < 8 Purge HOT 21
- "The code of method specialStateTransition(int, IntStream) is exceeding the 65535 bytes limit" HOT 10
- [formatting2] Performance issues with autowrap and already formatted document
- more JDT killing us
- Multiline comment expectations HOT 3
- Investigate if we can move xtext and mwe to apache.commons.commons-logging 1.3.3 HOT 1
- JDT Facade project
- LSP triggers build request on every keypress HOT 9
- [refactoring2] Uninitialized target field in RenameElementProcessor2
- There is still something wrong with the build setup HOT 5
- problems with m1 xtend maven plugin HOT 1
- Tycho + arm64 + target platform config HOT 2
- Investigate if there is a better solution for the Wizard Eclipse + LSP Generation
- fix xtext/xtext-languageserver-example HOT 3
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 xtext.