2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
Booleans
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
true
|
|
|
|
false
|
|
|
|
|
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
|
|
|
|
(boolean))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(boolean)))))
|
2023-10-18 17:52:56 -04:00
|
|
|
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
Integers
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
1 2 3
|
|
|
|
456 7
|
|
|
|
|
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
|
|
|
|
(integer))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(integer)))))
|
2023-10-18 17:52:56 -04:00
|
|
|
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
Strings
|
2023-11-10 20:44:03 -05:00
|
|
|
================================================================================
|
2023-10-18 17:52:56 -04:00
|
|
|
|
|
|
|
"one" 'two' "three" `four` 'five'
|
|
|
|
|
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
|
|
|
|
(string))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string))))
|
|
|
|
(statement
|
|
|
|
(expression
|
|
|
|
(value
|
|
|
|
(string)))))
|