Go to file
VaclavT 4b93f39375 changes here, changes there 2021-02-16 19:53:39 +01:00
.vscode basic json parsing added 2021-02-11 00:30:36 +01:00
clib REMOVED USER_STD macros, code formating, csv changes, few file functions 2021-02-15 23:20:20 +01:00
doc initial project setup 2021-02-09 13:53:35 +01:00
stdlib load stdlib on startup added - init version 2021-02-15 00:06:24 +01:00
tests changes here, changes there 2021-02-16 19:53:39 +01:00
tmp stdlib dir created 2021-02-11 23:37:57 +01:00
.gitignore REMOVED USER_STD macros, code formating, csv changes, few file functions 2021-02-15 23:20:20 +01:00
CMakeLists.txt changes here, changes there 2021-02-16 19:53:39 +01:00
Readme.md changes here, changes there 2021-02-16 19:53:39 +01:00
debug.lisp changes here, changes there 2021-02-16 19:53:39 +01:00
ml.cpp changes here, changes there 2021-02-16 19:53:39 +01:00
ml.h REMOVED USER_STD macros, code formating, csv changes, few file functions 2021-02-15 23:20:20 +01:00
ml_date.cpp changes here, changes there 2021-02-16 19:53:39 +01:00
ml_date.h changes here, changes there 2021-02-16 19:53:39 +01:00
ml_io.cpp changes here, changes there 2021-02-16 19:53:39 +01:00
ml_io.h changes here, changes there 2021-02-16 19:53:39 +01:00

Readme.md

TODO

  • date support
    • decode-universal-time
  • add save-csv
  • logical operators
  • documentation
  • add url of source/inspiration to clib/*.cpp
  • support for including lisp libs
  • 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)
  • format (printf)
  • add comman line options -h -v
  • readline
  • execute system command should capture stderr
  • add sleep
  • file functions
    • name it here
  • string functions
    • name it here
  • regexp functions
  • add hash datatype
  • add support for nil
  • conversion functions like parse-integer
  • list function nth

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

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