define renamed to def, defun renamed to defn

This commit is contained in:
vaclavt
2022-01-25 19:50:59 +01:00
parent 62015c2ff8
commit e6f61c9d9f
14 changed files with 189 additions and 189 deletions

View File

@@ -6,11 +6,11 @@ is a small lisp interpreter based on Adam McDaniel's wisp interpreter (https://g
### Example of use
```
cat <<EOT > /tmp/qs.lsp
(defun qs (l)
(defn qs (l)
(if (<= (len l) 1)
l
(do
(define pivot (first l))
(def pivot (first l))
(+
(qs (filter (lambda (n) (> pivot n)) l))
(list pivot)
@@ -88,12 +88,10 @@ utils/local_install.sh
#### Code
- tcpnet should use RAII
- add documentation - some code lide (doc::add func_name desc example flags), (doc::help name), (doc::appropos text)
- add more unit test, mainly for usql
- add more unit test, especially for usql
- add instrumentation (time, nr of evals, num of atoms, debug info, debug environment etc)
#### Language
- rename define -> def, defun -> defn
- string functions
- compare - needed for sorting, cmp ignore case
- regexp match, regexp tokens