doc updates

This commit is contained in:
VaclavT 2021-03-15 23:37:05 +01:00
parent 35cf6b13e5
commit 7e561256ef
3 changed files with 13 additions and 5 deletions

2
.vscode/launch.json vendored
View File

@ -13,7 +13,7 @@
"stopAtEntry": false, "stopAtEntry": false,
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"environment": [], "environment": [],
"console": "externalTerminal", "externalConsole": false,
"MIMode": "lldb" "MIMode": "lldb"
}, },
{ {

View File

@ -6,8 +6,10 @@
- documentation - documentation
- add url of source/inspiration to clib/*.cpp - add url of source/inspiration to clib/*.cpp
- add stdtest - to test every functionality - add stdtest - to test every functionality
- add -l option (no linenoise)
- rename ivaluize - rename ivaluize
- add instrumentation (time, nr of evals, num of atoms, debug info, debug environment etc) - add instrumentation (time, nr of evals, num of atoms, debug info, debug environment etc)
- add -p (profile/performance option)
- add debug support function call could keep call stack - add debug support function call could keep call stack
- add better print (coloring output) - add better print (coloring output)
- multiline editting (kilo editor) - multiline editting (kilo editor)
@ -26,13 +28,13 @@
- date support - date support
- decode-universal-time - decode-universal-time
- env functions - env functions
- get env - get-env, set-env; set-env cannot be implemented in stdlib.lsp, because popen is in fact subshell
- set env
- format (sprintf) - format (sprintf)
- setq - setq
- mapcar (funcall, apply) - mapcar (funcall, apply)
- syntax highlighting do VS Code - syntax highlighting do VS Code
- add hash datatype - add hash datatype
- create pastebin like web using ml
#### Performance #### Performance
- push_back - repeatedly without reserving size - push_back - repeatedly without reserving size
@ -48,7 +50,9 @@ cp stdlib/*.lsp /usr/local/var/mlisp/
#### Compile #### 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 ml_util.cpp clib/json11.cpp clib/csvparser.cpp clib/sslclient.cpp clib/printf.cpp clib/linenoise.c gcc -std=c99 -c -O2 -o linenoise.o clib/linenoise.c
c++ -c -O2 -I/usr/local/opt/openssl/include -Iclib --std=c++17 ml.cpp ml_io.cpp ml_date.cpp ml_string.cpp ml_util.cpp clib/json11.cpp clib/csvparser.cpp clib/sslclient.cpp clib/printf.cpp
c++ -o ml -O2 -L/usr/local/lib -L/usr/local/opt/openssl/lib -lm -lstdc++ -lcrypto -lssl -Wl,-stack_size -Wl,0x1000000 *.o
``` ```
or or
cmake cmake
@ -60,6 +64,7 @@ time ./build/ml -c '(include "../example.lisp") (print (fact 1000))'
``` ```
### Links ### Links
https://markdowntohtml.com/
https://hyperpolyglot.org/lisp https://hyperpolyglot.org/lisp
https://www.tutorialspoint.com/lisp/index.htm https://www.tutorialspoint.com/lisp/index.htm
https://github.com/adam-mcdaniel/wisp https://github.com/adam-mcdaniel/wisp

View File

@ -183,4 +183,7 @@
(term-yellow (sprintf "%.2f" (list 1.11))) " " (term-yellow (sprintf "%.2f" (list 1.11))) " "
)) ))
(print (get-env "HOME"))
(print "Test ends") (print "Test ends")