TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: FERNANDO ARIEL GONT
from: JOS CROEZE
date: 1998-04-08 03:02:00
subject: Problem to make a compil

Hello Fernando.
05 Apr 98 01:57, Fernando Ariel Gont wrote to John Stephenson:
 JS>> I'm coming to the realization that I have to build sophisticated
 JS>> parse trees and although I still can make it single pass, it will
 FG> What is a "parse tree"?
Do you know something about programming records that refer to two or more 
other
records of the same type? These structures are used to determine in which
direction parameters should be interpreted.
For instance 2+3*5 should be interpreted as 2 + (3*5) = 17 instead of (2 + 
3)*5
= 25.
The parsing tree for solution 1 (the good one) is
            +
          /   \
         2     *
             /   \
           3      5
The parsing tree for solution 2 (the bad one) is
            *
          /   \
         +     5
       /   \
     2       3
Sorry Fernando, but these are basics you should know. One more advice, try to
concentrate on one topic instead of trying to handle them all at once.
Jos
--- GoldED 2.50+
---------------
* Origin: (2:500/19)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.