43 lines
628 B
Plaintext
43 lines
628 B
Plaintext
==================
|
|
Simple Yield
|
|
==================
|
|
|
|
1 -> output
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(yield
|
|
(expression
|
|
(value
|
|
(integer)))
|
|
(expression
|
|
(identifier))))))
|
|
|
|
==================
|
|
Complex Yield
|
|
==================
|
|
|
|
1 + 1 -> to_string -> output
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(yield
|
|
(expression
|
|
(math
|
|
(expression
|
|
(value
|
|
(integer)))
|
|
(expression
|
|
(value
|
|
(integer)))))
|
|
(expression
|
|
(identifier))
|
|
(expression
|
|
(identifier))))))
|