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