Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » GMT (Generative Modeling Technologies) » [xText]left-recursive
[xText]left-recursive [message #606595] Sat, 18 August 2007 12:07
Irina is currently offline IrinaFriend
Messages: 27
Registered: July 2009
Junior Member
Hi all,
can anybody help me please?
how can i define left-recursive rule in xText?

Stm ->
Stm "::" Stm
| Stm "||" Stm
| Stm ";" Stm
| "if" "(" Expr ")" Stm ["else" Stm]
| "{" Stm "}"
| "assert" "(" Expr ")" ";"
| Id["[" Expr "]"] "=" Expr ";"
| [^] ["this" "."] Id "(" [Expr {"," Expr}] ")" ";"
| [^] Id["[" Expr "]"] "." Id "(" [Expr {"," Expr}] ")" ";"
| ";"

Thanks in advance,
Irina
Previous Topic:applying mofscript to XML model
Next Topic:[MOFScript]
Goto Forum:
  


Current Time: Fri Apr 26 01:15:43 GMT 2024

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

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

Back to the top