2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
List Declaration
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
['answer', 42]
|
|
|
|
|
2023-11-10 20:44:03 -05:00
|
|
|
--------------------------------------------------------------------------------
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
(root
|
2023-11-10 20:44:03 -05:00
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(list
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string)))
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer))))))))
|
2023-10-18 17:52:56 -04:00
|
|
|
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-31 05:51:37 -04:00
|
|
|
List Nesting
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
|
2023-10-31 05:51:37 -04:00
|
|
|
['answers', [42, [666]]]
|
2023-10-18 17:52:56 -04:00
|
|
|
|
2023-11-10 20:44:03 -05:00
|
|
|
--------------------------------------------------------------------------------
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
(root
|
2023-11-10 20:44:03 -05:00
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(list
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string)))
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(list
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer)))
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(list
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer))))))))))))))
|