enhanced the compiler to implement short-circuited logical 'and' and 'or' special forms.

renamed the primitive function 'and' to '_and' and 'or' to '_or'
This commit is contained in:
2018-03-03 17:16:41 +00:00
parent c387772803
commit 71d024837d
3 changed files with 218 additions and 6 deletions

View File

@ -7,6 +7,7 @@ A HCL program is composed of 0 or more expressions.
## Special Form Expression
* and
* break
* defun
* do
@ -14,6 +15,7 @@ A HCL program is composed of 0 or more expressions.
* else
* if
* lambda
* or
* return
* set
* until