|
|
||
|---|---|---|
| .vscode | ||
| clib | ||
| doc | ||
| stdlib | ||
| tests | ||
| tmp | ||
| .gitignore | ||
| CMakeLists.txt | ||
| Readme.md | ||
| debug.lsp | ||
| ml.cpp | ||
| ml.h | ||
| ml_date.cpp | ||
| ml_date.h | ||
| ml_io.cpp | ||
| ml_io.h | ||
| ml_string.cpp | ||
| ml_string.h | ||
Readme.md
BUGS
- see malformed_program - wrong parsing of comments - probably comment with "
TODO
- use file suffix .lsp instead of .lisp
- support for (), nil, t
- print-table
- download 1 year of data from api.nasdaq.com into test dir
- support for including lisp libs at startup from 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)
- in casting functions (as_string..) better exception description
- add better print (syntax high-lighting)
- add comman line options -h -v
- readline
- execute system command should capture stderr
- add sleep
- add built in for and, or
- file functions
- name it here
- string functions
- name it here
- regexp functions
- date support
- decode-universal-time
- anv function
- 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
Example of use
time ./build/ml -c '(include "../example.lisp") (print (fact 1000))'
./build/ml -f debug.lisp
Links
https://hyperpolyglot.org/lisp https://www.tutorialspoint.com/lisp/index.htm https://github.com/adam-mcdaniel/wisp
https://github.com/dropbox/json11
std::vector
https://stackoverflow.com/questions/12271017/initial-capacity-of-vector-in-c https://baptiste-wicht.com/posts/2012/12/cpp-benchmark-vector-list-deque.html
parse http headers in c++
^(?:((?:https?|s?ftp):)\/\/)([^:\/\s]+)(?::(\d*))?(?:\/([^\s?#]+)?([?][^?#]*)?(#.*)?)?
https://stackoverflow.com/questions/25896916/parse-http-headers-in-c
read stdout and stderr from popen
VPS providers
https://www.skysilk.com/cloud/pricing/#classId=Standard§ion=2 https://contabo.com/en/ https://www.hetzner.com/de/