writing code for return variables support

This commit is contained in:
2021-05-11 15:04:53 +00:00
parent 391d62511b
commit faea7b60df
6 changed files with 81 additions and 30 deletions

View File

@ -78,6 +78,16 @@ A HCL program is composed of expressions.
)
```
## Redefining a primitive function
```
(set prim-plus +)
(defun + (a b ...)
(prim-plus a b 9999)
)
(printf "%d\n" (+ 10 20))
```
## HCL Exchange Protocol