Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Internal*Parser class size(ANTLR parser)
Internal*Parser class size [message #1700963] Wed, 08 July 2015 12:31 Go to next message
Anakreontas Mentis is currently offline Anakreontas MentisFriend
Messages: 85
Registered: October 2014
Member
The ANTLR parser produced for my DSL is quite big . The java file is 1.8MB and the compiled class file is 420KB. I wonder if the large size of the parser indicates some error with the implementation of the grammar or is typical.
Re: Internal*Parser class size [message #1700974 is a reply to message #1700963] Wed, 08 July 2015 13:15 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
The generated parser classes produced by Antlr have a tendency to become
quite big, unfortunately. No need to be worried.

Best,
Sebastian
--
Looking for professional support for Xtext, Xtend or Eclipse Modeling?
Find help at http://xtext.itemis.com or xtext(@)itemis.com
Blog: zarnekow.blogspot.com
Twitter: @szarnekow
Google+: https://www.google.com/+SebastianZarnekow
Previous Topic:Cross reference for multiple identifers
Next Topic:importURI with particular path syntax
Goto Forum:
  


Current Time: Tue Mar 19 10:05:45 GMT 2024

Powered by FUDForum. Page generated in 0.01659 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top