Abstract syntax Trees – Examples (Python)

7 x  7 mod 4 x 2

pic1

8 – 7 mod -2

pic2

not(x == 133 and y != 2)

pic3

(5*10)/2 -((2+3)+6)

pic4

x + y*x != u*v + w

pic5

Not(x<y and (z >= w or not(z <= t))

pic6

Advertisements

One thought on “Abstract syntax Trees – Examples (Python)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s