Skip to main content



      Home
Home » Modeling » TMF (Xtext) » DSL with white spaces(DSL white spaces)
DSL with white spaces [message #1803819] Mon, 11 March 2019 09:19 Go to next message
Eclipse UserFriend
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 12:22 Go to previous message
Eclipse UserFriend
yes this is possible
have a look at https://www.eclipse.org/Xtext/documentation/307_special_languages.html#whitespace-aware-languages

Previous Topic:Xtext cardinality meta model
Next Topic:XImportSection and global scoping
Goto Forum:
  


Current Time: Sat Jun 14 05:09:33 EDT 2025

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

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

Back to the top