Commit Graph

134 Commits

Author SHA1 Message Date
887be41248 Update generated files 2025-10-31 10:06:47 -07:00
0d73789a25 Merge remote-tracking branch 'origin/main' into compound-assignment 2025-10-31 10:06:20 -07:00
34c7d244ce Merge branch 'main' into add-exceptions 2025-10-31 17:04:54 +00:00
c883854187 Merge branch 'main' into try-catch-throw-finally 2025-10-31 16:53:01 +00:00
a8fd79a990 push/pop/shift/unshift (and fix sort() 2025-10-29 19:05:49 -07:00
bc0684185a Add += and friends 2025-10-29 15:49:59 -07:00
e60e3184fa less chatty 2025-10-29 15:37:39 -07:00
f8d2236292 add exceptions to prelude functions 2025-10-29 15:36:18 -07:00
4f961d3039 test native exceptions 2025-10-29 15:29:07 -07:00
d957675ac8 there are always StringFragments 2025-10-29 15:15:35 -07:00
9bc514a782 implicit function-level try blocks 2025-10-29 14:51:50 -07:00
701ca98401 try/catch/throw/finally 2025-10-29 14:22:57 -07:00
6ca8d05c66 typo 2025-10-29 13:26:04 -07:00
1053a5ff52 Make dot-get work in the compiler AND with parens exprs 2025-10-29 13:19:47 -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
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
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
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
3a04970dca need you 2025-10-28 21:38:34 -07:00
2ff4615aab use module 2025-10-28 21:38:34 -07:00
d3e83e17b2 narrow type 2025-10-28 21:38:32 -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
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