Commit Graph

38 Commits

Author SHA1 Message Date
970ceeb8b0 import dict only=something 2025-11-09 20:07:22 -08:00
e2f5024a4c add import keyword for importing keys of dicts into local scope 2025-11-09 20:07:21 -08:00
398cd57b1d fs functions 2025-11-09 17:39:42 -08:00
f8718ac05b minor bugfix (x2) 2025-11-09 14:36:52 -08:00
7bbf43a725 bitwise operators 2025-11-08 16:10:13 -08:00
4c3f7a8bfc add ref for grabbing a function 2025-11-08 16:03:25 -08:00
9863f46f38 Merge pull request 'JSON!' (#33) from json into main
Reviewed-on: #33
2025-11-08 23:59:01 +00:00
49a6320fef add list.insert 2025-11-08 11:17:45 -08:00
19c4fb5033 args and exit 2025-11-08 08:22:41 -08:00
f57452ece2 list.reject 2025-11-08 08:16:39 -08:00
d4a772e88b json.encode & json.decode 2025-11-07 19:42:04 -08:00
Chris Wanstrath
fd3c5da59b coerce values to string in str prelude functions 2025-11-07 15:16:59 -08:00
afaedeea23 probably using list.sort is okay? 2025-11-06 21:39:51 -08:00
3ac606d0b2 prelude is now preloaded 2025-11-06 21:38:04 -08:00
f9b0aa2db5 add var? and var 2025-11-05 12:32:45 -08:00
d93ce85178 split out prelude info tests 2025-11-05 12:20:12 -08:00
34c7d244ce Merge branch 'main' into add-exceptions 2025-10-31 17:04:54 +00:00
a8fd79a990 push/pop/shift/unshift (and fix sort() 2025-10-29 19:05:49 -07:00
f8d2236292 add exceptions to prelude functions 2025-10-29 15:36:18 -07:00
6ca8d05c66 typo 2025-10-29 13:26:04 -07:00
d939322f6e shh 2025-10-29 13:14:37 -07:00
92ce43b508 dict.set 2025-10-29 13:12:40 -07:00
1a3f1c6c43 tweak describe 2025-10-29 12:28:51 -07:00
a21ba54ad7 describe? 2025-10-29 12:21:11 -07:00
4fb58483f0 split up prelude modules 2025-10-29 12:13:56 -07:00
9e38fa7a44 globalFunctions => globals 2025-10-29 12:04:14 -07:00
3c06cac36c more prelude functions 2025-10-29 11:34:04 -07:00
51b64da106 update conditional tests 2025-10-29 11:21:24 -07:00
d843071bee prelude tests 2025-10-29 10:53:35 -07:00
07ffc7df97 str.trim and friends, list.map and friends 2025-10-29 10:21:20 -07:00
3496b29072 tell the parser about builtin global functions 2025-10-29 10:18:19 -07:00
0eca3685f5 spruce up tests 2025-10-28 22:31:36 -07:00
Chris Wanstrath
dd2edb6dda prelude tests 2025-10-28 22:25:41 -07:00
b738e6cfd1 use -> load 2025-10-28 22:23:49 -07:00
bf1196bf96 use works more like fn, for now 2025-10-28 22:20:03 -07:00
3a04970dca need you 2025-10-28 21:38:34 -07:00
2ff4615aab use module 2025-10-28 21:38:34 -07:00
35e6b63499 better echo 2025-10-28 21:37:39 -07:00