Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » xText Startup Questions
xText Startup Questions [message #562592] Sat, 17 February 2007 22:35
Eclipse UserFriend
Originally posted by:

I want to try out xText, so started with a really simple grammar:
Entity :
"entity" name=ID;

But I still get a warning message:
...//my.dsl/src-gen//org/example/dsl/parser/mydsl.g:128: warning:lexical
nondeterminism between alts 2 and 3 of block upon
...//my.dsl/src-gen//org/example/dsl/parser/mydsl.g:128: k==1:'\r'
...//my.dsl/src-gen//org/example/dsl/parser/mydsl.g:128: k==2:'\n'

How can something so simple be nondeterministic?

Second question: Assuming this warning isn't enough to cause editor
generation to fail, how do I run the generated editor. The tutorial
says something about Eclipse knowing to use the editor for any file with
the right extension (.dsl), but that doesn't seem to work on the example
I'm trying. Am I missing some configuration step?

Thanks for any help.
Randy Simons
Previous Topic:[oaw] metamodel referencing
Next Topic:[Announce] A Proposal and Prototype for an Eclipse Model Registry
Goto Forum:

Current Time: Wed Apr 25 09:04:36 GMT 2018

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

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