fixes & updates
added uniq function task.json doc updates
This commit is contained in:
22
Readme.md
22
Readme.md
@@ -5,24 +5,24 @@
|
||||
### TODO
|
||||
- test whether AIG,,,10 csv row is parsed
|
||||
- support for (), nil, t, in lsp code replace 0 by nil in logicals
|
||||
- print-table
|
||||
- some performance functionality (at least counting how many times symbol was evaluated)
|
||||
- download 10 years of data from api.nasdaq.com into test dir
|
||||
- documentation
|
||||
- rename data.csv and add more tickers
|
||||
- logical operators
|
||||
- add url of source/inspiration to clib/*.cpp
|
||||
- add stdtest - to test every functionality
|
||||
- rename ivaluize
|
||||
- add benchmark
|
||||
- add some debug support??
|
||||
- add instrumentation (time, nr of evals, debug info, debug environment etc)
|
||||
- add instrumentation (time, nr of evals, num of atoms, debug info, debug environment etc)
|
||||
- in casting functions (as_string..) better exception description
|
||||
- add better print (syntax high-lighting)
|
||||
- add command line options -h -v
|
||||
- readline
|
||||
- add command line options -h for help, -v for version, -b for no stdlib.lsp on startup
|
||||
- add readline like functionality (libnoise)
|
||||
- multiline editting (kilo editor)
|
||||
- execute system command should capture stderr
|
||||
- add builtin sleep
|
||||
- add built in for and, or
|
||||
- add some debug support
|
||||
- file functions
|
||||
- name it here
|
||||
- string functions
|
||||
@@ -36,12 +36,10 @@
|
||||
- set env
|
||||
- add hash datatype
|
||||
- conversion functions like parse-integer
|
||||
- list function nth
|
||||
- in test.lisp some explaining prints
|
||||
- format (printf)
|
||||
- setq
|
||||
- mapcar (funcall, apply)
|
||||
- if then else, else part is optionw, allow then clause
|
||||
|
||||
#### Performance
|
||||
- push_back - repeatedly without reserving size
|
||||
@@ -52,6 +50,12 @@ cp build/ml /usr/local/bin/ml
|
||||
cp stdlib/stdlib.lsp /usr/local/var/mlisp/stdlib.lsp
|
||||
```
|
||||
|
||||
#### Compile
|
||||
```
|
||||
gcc -o ml -I/usr/local/opt/openssl/include -Iclib -L/usr/local/lib -L/usr/local/opt/openssl/lib -lm -lstdc++ -lcrypto -lssl -Wl,-stack_size -Wl,0x1000000 --std=c++17 ml.cpp ml_io.cpp ml_date.cpp ml_string.cpp clib/json11.cpp clib/csvparser.cpp clib/sslclient.cpp
|
||||
```
|
||||
or
|
||||
cmake
|
||||
|
||||
### Example of use
|
||||
```
|
||||
@@ -63,6 +67,8 @@ time ./build/ml -c '(include "../example.lisp") (print (fact 1000))'
|
||||
https://hyperpolyglot.org/lisp
|
||||
https://www.tutorialspoint.com/lisp/index.htm
|
||||
https://github.com/adam-mcdaniel/wisp
|
||||
http://www.ulisp.com/show?1AWG
|
||||
http://journal.stuffwithstuff.com/2013/12/08/babys-first-garbage-collector/
|
||||
|
||||
https://github.com/dropbox/json11
|
||||
|
||||
|
||||
Reference in New Issue
Block a user