Expressions
Once tokenized, GOO evaluates s-expressions in the usual lisp manner:
|
var | ,name | S |
|
| returns the value of binding named ,name
in the current environment. | |
|
lit | ,lit | S |
|
| syntactic literals that are self-evaluating. | |
|
QUOTE | (QUOTE ,form) | S |
|
| with ',form == (QUOTE ,form) (cf., Scheme's QUOTE) | |
|
special | (,special ,@args) | S |
|
| GOO defines a number of identifiers as the names of special
forms, which if seen in function call position cause special form
specific evaluation. | |
|
call | (,f ,@args) | S |
|
| otherwise lists represent function calls. | |
|
|