2018-03-02 07:44:13 +00:00
|
|
|
# HCL - Hybrid Command Language
|
|
|
|
|
|
|
|
## Language Syntax
|
|
|
|
|
2018-03-17 07:31:24 +00:00
|
|
|
A HCL program is composed of more expressions.
|
2018-03-02 07:44:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
## Special Form Expression
|
|
|
|
|
2018-03-03 17:16:41 +00:00
|
|
|
* and
|
2018-03-02 07:44:13 +00:00
|
|
|
* break
|
|
|
|
* defun
|
|
|
|
* do
|
|
|
|
* elif
|
|
|
|
* else
|
|
|
|
* if
|
|
|
|
* lambda
|
2018-03-03 17:16:41 +00:00
|
|
|
* or
|
2018-03-02 07:44:13 +00:00
|
|
|
* return
|
|
|
|
* set
|
|
|
|
* until
|
|
|
|
* while
|
|
|
|
|
|
|
|
## literals
|
|
|
|
|
|
|
|
* #nil
|
|
|
|
* #true
|
|
|
|
* #false
|
2018-03-17 07:31:24 +00:00
|
|
|
* integer
|
|
|
|
* character
|
|
|
|
* small pointer
|
|
|
|
* error
|
|
|
|
* string
|
|
|
|
* dictionary
|
|
|
|
* array
|
|
|
|
* byte array
|
|
|
|
|
|
|
|
## Builtin functions
|
|
|
|
|
|
|
|
* eqv?
|
|
|
|
* eqk?
|
|
|
|
* printf
|