doc updates
This commit is contained in:
parent
35cf6b13e5
commit
7e561256ef
|
|
@ -13,7 +13,7 @@
|
||||||
"stopAtEntry": false,
|
"stopAtEntry": false,
|
||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"console": "externalTerminal",
|
"externalConsole": false,
|
||||||
"MIMode": "lldb"
|
"MIMode": "lldb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
11
Readme.md
11
Readme.md
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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")
|
||||||
Loading…
Reference in New Issue