define renamed to def, defun renamed to defn
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user