Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Why Xtext is better than ANTLR
Why Xtext is better than ANTLR [message #1408578] Fri, 15 August 2014 13:01 Go to next message
mcse mcse is currently offline mcse mcseFriend
Messages: 53
Registered: August 2012
Member
Hi everyone,

I was trying to identify the reasons for which one could prefer Xtext framework over ANTLR framework. More precisely, what are the differences between Xtext and ANTLR that attracts people towards Xtext.
Can you please write your thoughts here ?

Thanks a lot.
Re: Why Xtext is better than ANTLR [message #1408580 is a reply to message #1408578] Fri, 15 August 2014 13:05 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hi,

Xtext give you an Editor with Syntax Highlighting, Content Assist, Tooltip, Outlines and much more + Semantic Validator.
Xtext uses Antlr under the hoods anyway.


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Why Xtext is better than ANTLR [message #1408638 is a reply to message #1408580] Fri, 15 August 2014 17:13 Go to previous messageGo to next message
mcse mcse is currently offline mcse mcseFriend
Messages: 53
Registered: August 2012
Member
Hi Christian,

Thanks for your reply. Is what you meant by the semantics validator the verification of the code generator (i.e., whether the code generator produces the code correctly or not) ?
Re: Why Xtext is better than ANTLR [message #1408646 is a reply to message #1408638] Fri, 15 August 2014 17:32 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
no,

i mean the ability to write semantic validation rules that will be checked against (the valid syntactic ast)


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:How to call a model from another model
Next Topic:Validation of the Xbase Expression grammar with Xsemantics
Goto Forum:
  


Current Time: Thu Apr 18 13:14:25 GMT 2024

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

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

Back to the top