Commit Graph

65 Commits

Author SHA1 Message Date
VaclavT 858db14e6d MlError does not override what() 2021-05-22 07:56:28 +02:00
VaclavT cd8838c37d some comments removed 2021-05-21 22:54:31 +02:00
VaclavT 16f9f93944 read-file-lines function added 2021-05-21 22:53:57 +02:00
VaclavT 20b2f8e112 number parsing fix 2021-05-20 23:05:57 +02:00
VaclavT 08131d3e4e MlValue::is_string added 2021-05-15 23:43:24 +02:00
VaclavT 09250861d9 print ascii code of a character (ktoi) 2021-05-15 00:02:06 +02:00
VaclavT d049675e9b remove unused constant endl 2021-05-10 19:08:06 +02:00
VaclavT a752ebdf12 added two string functions, doc updates 2021-05-10 19:07:50 +02:00
VaclavT 783aa6976b better boolean handling..
still T symbol should be implemented
2021-05-05 21:43:08 +02:00
VaclavT 358414d7d3 do not suppose in eval that list first element is function 2021-05-04 19:59:49 +02:00
VaclavT af92d1f870 better (thread) error handling 2021-05-03 18:32:36 +02:00
VaclavT 0829f965be setX starts searching in current scope 2021-05-03 18:30:01 +02:00
VaclavT 78f870c17d slightly nicer code 2021-05-03 18:29:29 +02:00
VaclavT a2a01dd676 threads work in progress 2021-04-22 22:50:53 +02:00
VaclavT b8d9690141 lambda capture restored 2021-04-22 22:48:10 +02:00
VaclavT 6638cdff55 set! functionality fix
this will be probably changed in future
2021-04-19 21:17:10 +02:00
VaclavT a27bcda59b clearing call stack when exception is thrown 2021-04-19 21:15:51 +02:00
VaclavT a50a3bceb3 set! added 2021-04-14 07:55:55 +02:00
VaclavT c95d7ec886 pass as reference 2021-04-14 07:55:33 +02:00
VaclavT e0574837b6 allow -b option
whole parsing of command line will be rewriten
2021-04-14 07:50:36 +02:00
VaclavT 9ab0a2c98d callstack added 2021-04-09 00:07:20 +02:00
VaclavT 5afa7dd69f compile on linux 2021-03-29 23:18:29 +02:00
VaclavT a92020ac1e added runtime in ms to -p option 2021-03-28 23:52:33 +02:00
VaclavT 89dd5c6f07 added string functions 2021-03-28 13:42:53 +02:00
VaclavT 337fb2f80d and and or added 2021-03-28 13:37:54 +02:00
VaclavT b0ff9dd934 split by regexp and [rl]tring added 2021-03-24 00:18:27 +01:00
VaclavT 2c68861451 shebang support added 2021-03-23 07:45:22 +01:00
VaclavT 56407f3516 basic version of profiler class 2021-03-22 06:50:15 +01:00
VaclavT e981d6b67f do not repeatedly evaluate second argument in for 2021-03-22 06:47:53 +01:00
VaclavT fcb3b4c5c5 int is dead, long live long type! 2021-03-17 23:56:02 +01:00
VaclavT 35cf6b13e5 move list of builtins to ml_util.cpp
this is not final solution, just for now
2021-03-15 23:24:58 +01:00
VaclavT c4e4522492 fixes & enhandcements
(benchmark code..) implemented
repl completion very first version
(string xx) added
some builtin renames
a bit of comments
a bit of cocumentation
(sleep interval) added
2021-03-14 16:15:04 +01:00
VaclavT de7c39d52f restore back before introducing main.cpp 2021-03-12 20:14:13 +01:00
VaclavT 55d39ef321 added option -h and -v 2021-03-10 23:29:49 +01:00
VaclavT 11ad7fc3bc small fixes 2021-03-10 23:10:21 +01:00
VaclavT 3f46ae9c94 sprintf added, terminal colors
small code fixes and rearangements
2021-03-09 22:57:16 +01:00
VaclavT e0ec884394 std lib load code reformat 2021-03-07 19:12:30 +01:00
Vaclav Tvrdik 01a16802da tiny nil optimization 2021-03-07 18:52:56 +01:00
Vaclav Tvrdik d54c2ee79b UNIT type removed 2021-03-07 18:48:57 +01:00
Vaclav Tvrdik 3d54ed9fb3 better handling of comments 2021-03-07 18:40:26 +01:00
VaclavT 903c8fd49d error description less verbose, some params checking added, comments 2021-03-02 23:13:05 +01:00
VaclavT 8586a66285 initial support for nil, make-list
unfinished, but usable.. still 0 is false in libs and code
2021-03-01 18:26:58 +01:00
VaclavT 46b29fc229 string pad/rpad/lpad 2021-02-28 12:53:06 +01:00
VaclavT f7992b1eab include path changes 2021-02-26 09:49:01 +01:00
VaclavT c9c58f9030 allow if without else 2021-02-22 01:29:54 +01:00
VaclavT e84d63c138 const & parameter 2021-02-22 01:25:49 +01:00
VaclavT a87964f552 regexp-search added, std lib loader changes, more REadme items 2021-02-21 14:03:14 +01:00
VaclavT 0ba8536aa2 priprava na zkouskysinple fixes 2021-02-20 01:30:46 +01:00
VaclavT fa7cbad70b ml_string 2021-02-19 23:52:16 +01:00
VaclavT 4a867d3c22 tiny beautification 2021-02-17 00:16:52 +01:00