2023-11-11 01:44:03 +00:00
|
|
|
================================================================================
|
2023-10-18 21:52:56 +00:00
|
|
|
Simple Map
|
2023-11-11 01:44:03 +00:00
|
|
|
================================================================================
|
2023-10-18 21:52:56 +00:00
|
|
|
|
2023-11-16 06:59:48 +00:00
|
|
|
( answer = 42 )
|
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
|
2023-11-16 06:59:48 +00:00
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(map
|
2023-11-11 01:44:03 +00:00
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(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
|
|
|
Nested Maps
|
2023-11-11 01:44:03 +00:00
|
|
|
================================================================================
|
2023-10-18 21:52:56 +00:00
|
|
|
|
2023-11-16 06:59:48 +00:00
|
|
|
x = (
|
|
|
|
y = (
|
2023-10-31 09:51:37 +00:00
|
|
|
foo = 'bar'
|
2023-11-16 06:59:48 +00:00
|
|
|
z = (
|
2023-10-31 09:51:37 +00:00
|
|
|
message = 'hiya'
|
2023-11-16 06:59:48 +00:00
|
|
|
)
|
|
|
|
)
|
2023-10-31 09:51:37 +00:00
|
|
|
f = 12
|
2023-11-16 06:59:48 +00:00
|
|
|
)
|
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
|
|
|
|
(assignment
|
|
|
|
(identifier)
|
|
|
|
(assignment_operator)
|
|
|
|
(statement
|
2023-11-16 06:59:48 +00:00
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(map
|
2023-11-11 01:44:03 +00:00
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(map
|
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string))))
|
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(map
|
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
2023-11-16 06:59:48 +00:00
|
|
|
(string))))))))))))
|
2023-11-11 01:44:03 +00:00
|
|
|
(identifier)
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer)))))))))))
|