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