Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » DSL with white spaces(DSL white spaces)
DSL with white spaces [message #1803819] Mon, 11 March 2019 13:19 Go to next message
Petr Matyukov is currently offline Petr MatyukovFriend
Messages: 1
Registered: March 2019
Junior Member
Hi, folks ))

I am newbi in xtext.

Is it possible to define DSL via XTEXT with whitespaces?

For example, I want write something like this:

if wall ahead
turn left
else
move

Thanx!

Re: DSL with white spaces [message #1803921 is a reply to message #1803819] Wed, 13 March 2019 16:22 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
yes this is possible
have a look at https://www.eclipse.org/Xtext/documentation/307_special_languages.html#whitespace-aware-languages



Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Xtext cardinality meta model
Next Topic:XImportSection and global scoping
Goto Forum:
  


Current Time: Thu Apr 25 00:43:46 GMT 2024

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

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

Back to the top