68 lines
1.1 KiB
Plaintext
68 lines
1.1 KiB
Plaintext
==================
|
|
List Declaration
|
|
==================
|
|
|
|
['answer', 42]
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(value
|
|
(list
|
|
(value
|
|
(string))
|
|
(value
|
|
(integer))))))))
|
|
|
|
==================
|
|
List Assignment
|
|
==================
|
|
|
|
foobar = ['answer', 42]
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(assignment
|
|
(identifier)
|
|
(expression
|
|
(value
|
|
(list
|
|
(value
|
|
(string))
|
|
(value
|
|
(integer))))))))))
|
|
|
|
==================
|
|
List Nesting
|
|
==================
|
|
|
|
foobar = ['answers', [42, [666]]]
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(assignment
|
|
(identifier)
|
|
(expression
|
|
(value
|
|
(list
|
|
(value
|
|
(string))
|
|
(value
|
|
(list
|
|
(value
|
|
(integer))
|
|
(value
|
|
(list
|
|
(value
|
|
(integer)))))))))))))) |