Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Why Xtext is better than ANTLR
Why Xtext is better than ANTLR [message #1408578] Fri, 15 August 2014 09:01 Go to next message
Eclipse UserFriend
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 09:05 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: Why Xtext is better than ANTLR [message #1408638 is a reply to message #1408580] Fri, 15 August 2014 13:13 Go to previous messageGo to next message
Eclipse UserFriend
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 13:32 Go to previous message
Eclipse UserFriend
no,

i mean the ability to write semantic validation rules that will be checked against (the valid syntactic ast)
Previous Topic:How to call a model from another model
Next Topic:Validation of the Xbase Expression grammar with Xsemantics
Goto Forum:
  


Current Time: Mon Jul 14 23:34:59 EDT 2025

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

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

Back to the top