62 lines
1.0 KiB
Plaintext
62 lines
1.0 KiB
Plaintext
==================
|
|
Table Declaration
|
|
==================
|
|
|
|
table <text, number> {
|
|
['answer', 42]
|
|
}
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(open_statement
|
|
(expression
|
|
(value
|
|
(table
|
|
(identifier)
|
|
(identifier)
|
|
(list
|
|
(value
|
|
(string))
|
|
(value
|
|
(integer))))))))))
|
|
|
|
==================
|
|
Table Assignment
|
|
==================
|
|
|
|
foobar = table <text, number> {
|
|
['answer', 42]
|
|
}
|
|
|
|
foobar
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(open_statement
|
|
(expression
|
|
(operation
|
|
(expression
|
|
(identifier))
|
|
(operator)
|
|
(expression
|
|
(value
|
|
(table
|
|
(identifier)
|
|
(identifier)
|
|
(list
|
|
(value
|
|
(string))
|
|
(value
|
|
(integer)))))))))))
|
|
(item
|
|
(statement
|
|
(open_statement
|
|
(expression
|
|
(identifier))))))
|