Skip to main content



      Home
Home » Modeling » TMF (Xtext) » Hello I'm new in this technology
Hello I'm new in this technology [message #1804958] Wed, 03 April 2019 13:26 Go to next message
Eclipse UserFriend
Hello for everyone I'm new in this technology I would like to create Domain specific language for my smart house. Is this possible to do with xtext. if yes from what I should start to learn write code for creating dsl. Could you please give me some suggestion about it thank in advance.
Re: Hello I'm new in this technology [message #1805007 is a reply to message #1804958] Thu, 04 April 2019 10:05 Go to previous messageGo to next message
Eclipse UserFriend
Surely this is possible, and it already exists. Please have a look at OpenHAB. They are using Xtext to describe advanced automation rules, items end other things.

https://github.com/carlossg/openhab/blob/master/bundles/model/org.openhab.model.rule/src/org/openhab/model/rule/Rules.xtext
Re: Hello I'm new in this technology [message #1805008 is a reply to message #1804958] Thu, 04 April 2019 10:07 Go to previous messageGo to next message
Eclipse UserFriend
Hi, welcome to Xtext. i recommend you to do the tutorials in the documentation and come back if you have questions.
if you want to give it a deeper dive i recommend you lorenzo bettinis "Implementing Domain-Specific Languages with Xtext and Xtend - Second Edition"
Re: Hello I'm new in this technology [message #1805036 is a reply to message #1805008] Thu, 04 April 2019 13:27 Go to previous message
Eclipse UserFriend
Apart from the possibilities mentioned above, I recommend you to take a look at the Xtext Examples shipped with the Xtext frameworks.
You can find an overview about these examples under:
1. https://blogs.itemis.com/en/eclipse-gef-dot-graphical-views-on-xtext-dsls
2. https://www.youtube.com/watch?v=GnSVLNYfGlk from the 22:00 minute.
Previous Topic:Can't understand why one rule are recognized as another
Next Topic:Get all syntax errors
Goto Forum:
  


Current Time: Fri Jun 20 16:56:23 EDT 2025

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

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

Back to the top