Syntax Tree.

"Gil Zhaiek" <>
5 Nov 2000 21:02:14 -0500

          From comp.compilers

Related articles
Syntax Tree. (Gil Zhaiek) (2000-11-05)
| List of all articles for this month |

From: "Gil Zhaiek" <>
Newsgroups: comp.compilers
Date: 5 Nov 2000 21:02:14 -0500
Organization: Frotier GlobalCenter Inc.
Keywords: yacc, parse

Anyone knows how to create a syntax tree in Yacc?
Anyone can direct me to a compile code for C or a small scale of C?
Gil Zhaiek
[There's no magic to making a parse tree -- each rule needs to create a
node and pass it back as its value, so the tree gets built from the botto
up. It's kid of tedious but not hard. See the FAQ for C compilers; you
should look at lcc which is smaller and easier to follow than gcc. -John}

Post a followup to this message

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