Python on Parrot Python on Parrot #58

Transforming parse to PAST

Languages typically use a tree grammar (TGE) to transform a parse tree into PAST-pm.

Essentially we transform something like ...

a = 1
while a <= 10 :
    print a
    a = a + 1
Copyright © 2007 Patrick Michaud