Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Can Xtext be used to create general-purpose programming languages?
Can Xtext be used to create general-purpose programming languages? [message #1807117] Thu, 23 May 2019 02:20 Go to next message
Eclipse UserFriend
Same as title. Want to make a general purpose programming language, want to know if its possible with Xtext.
Re: Can Xtext be used to create general-purpose programming languages? [message #1807147 is a reply to message #1807117] Thu, 23 May 2019 13:33 Go to previous messageGo to next message
Eclipse UserFriend
yes this possible. Xtend is built with Xtext as well is Jbase.
is there a specific concern behind your question
Re: Can Xtext be used to create general-purpose programming languages? [message #1807154 is a reply to message #1807117] Thu, 23 May 2019 15:44 Go to previous messageGo to next message
Eclipse UserFriend
I was just wondering if it is able to and if so, how easy it would be to make a general-purpose programming language with it?
Re: Can Xtext be used to create general-purpose programming languages? [message #1807155 is a reply to message #1807154] Thu, 23 May 2019 16:08 Go to previous messageGo to next message
Eclipse UserFriend
Such a general question has no general answer
But in general the answer is yes, Xtext can be used for gpls too
Re: Can Xtext be used to create general-purpose programming languages? [message #1807178 is a reply to message #1807155] Fri, 24 May 2019 03:33 Go to previous message
Eclipse UserFriend
Hi

Most definitely YES. OCL is one example, QVTr another.

The difficulty entirely depends on the language. If you have a friendly/flexible language, you may be able to exploit Xbase and find it fairly easy. Or you may have an awkward/standardized language where you must faithfully accommodate every poor design decision, which of course requires substantially more ingenuity, study and effort.

Ultimately the editor is just the start of the story. Really good language support should have high quality completion assist, refactoring and of course building, code generation and debugging. Xtext provides assistance in these areas but there is no substitute for many hours of effort from skilled programmers.

Regards

Ed Willink
Previous Topic:How to import implicitly the namespace from importURI
Next Topic:Override import behavior to handle C-style includes
Goto Forum:
  


Current Time: Fri Apr 25 15:59:10 EDT 2025

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

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

Back to the top