Commit Graph

300 Commits

Author SHA1 Message Date
1053a5ff52 Make dot-get work in the compiler AND with parens exprs 2025-10-29 13:19:47 -07:00
00eb1cf6f1 Merge pull request 'Prelude of builtin functions' (#7) from prelude into main
Reviewed-on: #7
Reviewed-by: probablycorey <probablycorey@gmail.com>
2025-10-29 20:15:36 +00:00
0de72a0d67 update reef 2025-10-29 13:14:59 -07:00
d939322f6e shh 2025-10-29 13:14:37 -07:00
92ce43b508 dict.set 2025-10-29 13:12:40 -07:00
c51030b3bd sure 2025-10-29 12:50:56 -07:00
e95c0d6728 use bun's equal check 2025-10-29 12:50:09 -07:00
c3453fdc5c how did that get in there... 2025-10-29 12:45:27 -07:00
1a3f1c6c43 tweak describe 2025-10-29 12:28:51 -07:00
a21ba54ad7 describe? 2025-10-29 12:21:11 -07:00
df3d483de5 update repl and shrimp 2025-10-29 12:21:02 -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
0dbba4d847 allow conditionals at statement-level 2025-10-29 11:21:16 -07:00
34305b473e switch back to using == 2025-10-29 11:18:47 -07:00
fd197a2dfc fix or/and chaining 2025-10-29 11:14:11 -07:00
ced190488a Add % operator 2025-10-29 10:58:48 -07:00
d843071bee prelude tests 2025-10-29 10:53:35 -07:00
40a648cd19 allow ? in identifier name 2025-10-29 10:38:57 -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
f25ec024c2 further activate dotget 2025-10-28 22:18:46 -07:00
6d19896d1a not anymore, right 2025-10-28 21:53:22 -07:00
f08b16824a Merge branch 'list-and-dict-literals' into prelude 2025-10-28 21:52:55 -07:00
e1ba9c630d important note 2025-10-28 21:52:45 -07:00
b03610761b shh 2025-10-28 21:52:15 -07:00
b46154f753 no more, i think? 2025-10-28 21:38:56 -07:00
3a04970dca need you 2025-10-28 21:38:34 -07:00
2ff4615aab use module 2025-10-28 21:38:34 -07:00
7387c56a20 native -> global 2025-10-28 21:38:34 -07:00
d3e83e17b2 narrow type 2025-10-28 21:38:32 -07:00
9345c743ff no valueFunctions 2025-10-28 21:37:39 -07:00
ee4de6c59e update-reef command 2025-10-28 21:37:39 -07:00
35e6b63499 better echo 2025-10-28 21:37:39 -07:00
62036b1e4b start on a prelude of builtin functions 2025-10-28 21:37:39 -07:00
1aa1570135 add barus minimus docs 2025-10-28 21:36:02 -07:00
8112515278 [ = ] 2025-10-28 21:18:24 -07:00
982054eb54 [a=1 b=2 c=3] and [=] (empty dict) 2025-10-28 21:10:33 -07:00
34c1177636 more tests 2025-10-28 17:03:41 -07:00
339c09eb8c compile array literals 2025-10-28 16:47:33 -07:00
7da4c14962 parse arrays 2025-10-28 16:30:45 -07:00
Chris Wanstrath
7a4affd01e globals, not global functions 2025-10-28 13:08:51 -07:00
Chris Wanstrath
20e2dd3b31 update reef 2025-10-28 13:06:54 -07:00
bbc9316074 Merge pull request 'Functions returned by parens expr can be called' (#10) from word-to-your-mother into main
Reviewed-on: #10
2025-10-27 23:08:54 +00:00