Tree building

"Jad Saklawi" <>
11 Dec 2006 16:12:24 -0500

          From comp.compilers

Related articles
Tree building (Jad Saklawi) (2006-12-11)
| List of all articles for this month |

From: "Jad Saklawi" <>
Newsgroups: comp.compilers
Date: 11 Dec 2006 16:12:24 -0500
Organization: Compilers Central
Keywords: parse, question, comment


        I am implementing a program that deals with CTL (computation tree
logic). I want to build a tree from expression.

Example :

            - Assume langauge is arithmatic
            - Expression is : 1 + 1
            - Desired tree :

                      / \
                    1 1

        Is this the parse tree ? If so which type. I need to narrow my
search. Any suggested libraries/documentation ?

        Thanks in advance.

[Yes, it's the parse tree, or maybe the similar abstract syntax tree
(AST). This is covered in Chapter 1 of just about every compiler text
ever written. -John]

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.