68 lines
1.0 KiB
Plaintext
68 lines
1.0 KiB
Plaintext
==================
|
|
Simple Function
|
|
==================
|
|
|
|
function { "Hiya" }
|
|
|
|
---
|
|
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(value
|
|
(function
|
|
(statement
|
|
(expression
|
|
(value
|
|
(string))))))))))
|
|
|
|
==================
|
|
Function Call
|
|
==================
|
|
|
|
foobar <"Hiya">
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(function_call
|
|
(identifier)
|
|
(value
|
|
(string)))))))
|
|
|
|
==================
|
|
Complex Function
|
|
==================
|
|
|
|
function <message, number> {
|
|
output message
|
|
output number
|
|
}
|
|
|
|
---
|
|
|
|
(root
|
|
(item
|
|
(statement
|
|
(expression
|
|
(value
|
|
(function
|
|
(identifier)
|
|
(identifier)
|
|
(statement
|
|
(expression
|
|
(identifier)))
|
|
(statement
|
|
(expression
|
|
(identifier)))
|
|
(statement
|
|
(expression
|
|
(identifier)))
|
|
(statement
|
|
(expression
|
|
(identifier))))))))) |