Yapps 2.0 is not backwards compatible with Yapps 1.0. In this section are some tips for upgrading:
->
<<...>>
. Yapps 2.0 allows patterns and Python statements to
be mixed. To convert a rule like this:
rule R: A B C -> << E1 >> | X Y Z -> << E2 >>
to Yapps 2.0 form, replace the return value specifiers with return statements:
rule R: A B C {{ return E1 }} | X Y Z {{ return E2 }}
*
and +
provided in Yapps 2.0.
Amit J Patel, amitp@cs.stanford.edu