Commit Graph

207 Commits

Author SHA1 Message Date
Pekka Laiho
3c9885c7f9 Optimization: read ast length to variable in eval 2020-12-03 10:18:22 +07:00
Pekka Laiho
a86fd77b45 Optimization: read symbol name to variable in eval 2020-12-03 10:08:11 +07:00
Pekka Laiho
d6127e6821 Optimization: skip call to 'has' method when possible 2020-12-03 09:58:58 +07:00
Pekka Laiho
330fda6715 support for init file 2020-10-24 14:27:02 +07:00
Pekka Laiho
d4d3de911e improve readme 2020-10-24 12:31:48 +07:00
Pekka Laiho
11d14a8c6c escape underscores in readme 2020-10-24 12:29:05 +07:00
Pekka Laiho
2f48754902 add special constants __FILE__ and __DIR__ 2020-10-24 12:27:28 +07:00
Pekka Laiho
c110522f3b add meta function 2020-10-24 10:02:50 +07:00
Pekka Laiho
1e33e4d146 change syntax of readline functions 2020-10-18 14:45:49 +07:00
Pekka Laiho
06acb47c72 add Regex lib 2020-10-18 14:33:27 +07:00
Pekka Laiho
c0fb53742a capitalize constants 2020-10-18 13:32:20 +07:00
Pekka Laiho
be9ffae2e8 add calc example 2020-10-18 11:15:51 +07:00
Pekka Laiho
a38ef23e17 add functions: loop, coinflip, rand 2020-10-18 10:24:18 +07:00
Pekka Laiho
80a72b616b support strings for empty? 2020-10-18 09:30:21 +07:00
Pekka Laiho
d65fb5a58a add readline functions 2020-10-18 09:18:07 +07:00
Pekka Laiho
656f805a5c split function now returns a Vector instead of a List 2020-10-17 17:44:47 +07:00
Pekka Laiho
c3d99d60ef add function: filterh 2020-10-17 17:08:53 +07:00
Pekka Laiho
6475c5a253 add functions: prefix? suffix? 2020-10-17 16:11:33 +07:00
Pekka Laiho
72dc10f369 add function: exit 2020-10-17 14:47:30 +07:00
Pekka Laiho
5b2691d475 add function: timer 2020-10-17 14:36:02 +07:00
Pekka Laiho
94a69e7b76 use inc/dec for factorial 2020-10-17 14:18:16 +07:00
Pekka Laiho
475ddf5a20 fibonacci improvements 2020-10-17 14:15:14 +07:00
Pekka Laiho
9209b8dd92 add function: slice 2020-10-17 13:53:09 +07:00
Pekka Laiho
a7e4524470 add usort 2020-10-17 13:32:57 +07:00
Pekka Laiho
0937042e07 added function for http requests 2020-06-20 10:33:15 +07:00
Pekka Laiho
325a1bcaf0 save history also for failed commands in repl 2020-06-19 19:20:31 +07:00
Pekka Laiho
ad2aea9c70 add database functions 2020-06-19 19:09:07 +07:00
Pekka Laiho
51bc382413 add more IO functions 2020-06-19 14:13:21 +07:00
Pekka Laiho
3b58f280f7 handle invalid types in json 2020-06-19 13:50:22 +07:00
Pekka Laiho
838313fa9c support for object and resource types 2020-06-19 13:46:52 +07:00
Pekka Laiho
599ebd303f added Json serialization 2020-06-19 10:50:44 +07:00
Pekka Laiho
871df1f691 separate coreLibs and userLibs for LispFactory 2020-06-17 18:31:13 +07:00
Pekka Laiho
90a9b3aa53 add some directory functions and constants 2020-06-17 18:28:25 +07:00
Pekka Laiho
85ccdcdbf1 update readme 2020-06-17 18:10:33 +07:00
Pekka Laiho
7f1bf405eb rewrite run.php, support reading from stdin 2020-06-17 18:04:43 +07:00
Pekka Laiho
d32ca9a4b6 remove bootstrap, add LispFactory 2020-06-17 17:24:15 +07:00
Pekka Laiho
0ecc4a7b73 add values for PI and newline to library 2020-06-16 20:43:47 +07:00
Pekka Laiho
427327003d handle special characters correctly in printing 2020-06-16 20:38:46 +07:00
Pekka Laiho
ad70c6dbd0 handle special characters in strings 2020-06-16 20:15:57 +07:00
Pekka Laiho
034598cd71 finishing readme 2020-06-14 17:10:08 +07:00
Pekka Laiho
687c2b4414 more fixes to readme file 2020-06-12 17:03:26 +07:00
Pekka Laiho
9db1bb13aa collection functions to readme 2020-06-12 16:42:00 +07:00
Pekka Laiho
9e00f2175e improve readme 2020-06-12 15:37:33 +07:00
Pekka Laiho
18c1ce8393 start of readme file 2020-06-11 17:13:00 +07:00
Pekka Laiho
37ad2ec0bf support for command line arguments 2020-06-10 20:40:15 +07:00
Pekka Laiho
fcb43515dd rename repl.php to run.php 2020-06-10 19:44:56 +07:00
Pekka Laiho
0a21f890ae add more math functions 2020-06-08 10:14:32 +07:00
Pekka Laiho
ddac856ed4 add functions second, penult 2020-06-08 10:02:59 +07:00
Pekka Laiho
200d9b3161 add comments 2020-06-08 09:55:29 +07:00
Pekka Laiho
aa71b4da36 debugging support for eval 2020-06-06 21:02:02 +07:00