Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 17:26 Go to next message
Jakhongir Sabirov is currently offline Jakhongir SabirovFriend
Messages: 1
Registered: April 2019
Junior Member
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 14:05 Go to previous messageGo to next message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 705
Registered: July 2009
Location: Dortmund, Germany
Senior Member

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 14:07 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13147
Registered: July 2009
Senior Member
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"


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/xtext/
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Hello I'm new in this technology [message #1805036 is a reply to message #1805008] Thu, 04 April 2019 17:27 Go to previous message
Tamas Miklossy is currently offline Tamas MiklossyFriend
Messages: 59
Registered: February 2016
Member
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: Mon Oct 14 06:56:44 GMT 2019

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

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

Back to the top