Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Expression tree
Expression tree [message #1727040] Fri, 18 March 2016 12:24 Go to next message
Som 2015 is currently offline Som 2015Friend
Messages: 16
Registered: March 2015
Junior Member

I have a grammar to define arithmetic/logical expressions. I need to get the tree-based representation of these expressions, so that I can compute the results of the expressions by known tree traversal algorithms. I was wondering whether there is any easy way to get such a tree inside my program, since Xtext creates AST from such expressions anyhow.

Re: Expression tree [message #1727045 is a reply to message #1727040] Fri, 18 March 2016 12:37 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14352
Registered: July 2009
Senior Member

am not sure if i get your question
maybe a look at helps

Need professional support for Xtext, Xpand, EMF?
Go to:
Twitter : @chrdietrich
Blog :
Previous Topic:Upgrading from 2.8 to 2.9
Next Topic:creating objects in the EMF
Goto Forum:

Current Time: Sun Oct 02 11:16:01 GMT 2022

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

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

Back to the top