Commit Graph

184 Commits

Author SHA1 Message Date
19c4fb5033 args and exit 2025-11-08 08:22:41 -08:00
f57452ece2 list.reject 2025-11-08 08:16:39 -08:00
3aa40ae2c2 fix fromValue 2025-11-07 21:50:01 -08:00
da0af799d8 add more Shrimp API, tests 2025-11-07 21:43:55 -08:00
9f45252522 cli: don't re-implement stuff 2025-11-07 21:10:25 -08:00
bae0da31c2 globals accepts {} too 2025-11-07 21:05:42 -08:00
Chris Wanstrath
890eb811b9 pipe atoms/literals to functions 2025-11-07 15:17:29 -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
62e42328e1 fix test issues 2025-11-06 21:34:35 -08:00
061452a334 Better names 2025-11-06 10:22:37 -08:00
ab12212df2 Make the extension know about the prelude 2025-11-06 09:23:18 -08:00
290ac59cee Update parser stuff 2025-11-05 16:19:20 -08:00
b0f6c75427 Merge remote-tracking branch 'origin/main' into comments-in-tree 2025-11-05 16:18:58 -08:00
146d2a22ee get rid of all those Comments 2025-11-05 16:18:34 -08:00
1a3e041001 update reef 2025-11-05 14:18:53 -08:00
600330ba7f Shrimp.run accepts locals 2025-11-05 14:01:00 -08:00
a535dc9605 Shrimp accepts custom globals 2025-11-05 13:42:24 -08:00
0e96911879 add Shrimp class as a nicer way to run code 2025-11-05 13:33:32 -08:00
5f46346213 allow if expr in parens 2025-11-05 13:18:54 -08:00
6112d7e5a2 allow function calls in if/else if test expressions 2025-11-05 13:06:46 -08:00
653ff5df10 Fix them tests 2025-11-05 12:40:31 -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
f57b1c985e NBD 2025-11-05 10:28:57 -08:00
e0e5e82869 Merge pull request 'Risky Business: omit do when passing a 0 arg function to a function' (#22) from risky-business into main
Reviewed-on: #22
Reviewed-by: probablycorey <probablycorey@gmail.com>
2025-11-04 15:19:53 +00:00
d707ee7e6b comments 2025-11-03 21:28:00 -08:00
b31b981343 highlight Do 2025-11-03 21:26:10 -08:00
67e0db090b maybe better 2025-11-03 20:25:44 -08:00
24e0b49679 it's alive 2025-11-03 20:25:44 -08:00
7756306e1d insanity 2025-11-03 20:25:44 -08:00
7bcd582dc6 what have i done 2025-11-03 20:25:42 -08:00
e68624b608 elseif -> else if 2025-11-03 20:16:15 -08:00
2fab792c1a Merge branch 'while' into grammar-tweaks 2025-11-03 20:12:29 -08:00
f1eaafee19 just in case 2025-11-03 20:11:59 -08:00
950eef0e69 no more single vs multiline blocks 2025-11-03 20:07:34 -08:00
dc557deb40 Collapse all blocks into SingleLineBlock and MultiLineBlock 2025-11-03 19:55:41 -08:00
ee0e6c6c41 Add some grammar aliases for readability 2025-11-03 19:51:43 -08:00
5f4bf60062 while loops 2025-11-03 19:29:19 -08:00
Chris Wanstrath
90a1f63847 allow passing in extra globals 2025-11-03 13:44:12 -08:00
Chris Wanstrath
402748d1da start exporting a package API 2025-11-03 13:26:53 -08:00
fa034d4bd4 only constant values can be defaults 2025-11-02 16:52:20 -08:00
8addb77e90 make defaults work, like magic 2025-11-02 16:34:59 -08:00
1791e5a6c7 parse defaults 2025-11-02 14:04:32 -08:00
f14013aa55 allow - in named args 2025-11-01 07:50:21 -07:00
2fa432ea3f Update generated files 2025-10-31 10:08:15 -07:00
78849c7d36 Merge remote-tracking branch 'origin/main' into array-destructuring 2025-10-31 10:08:03 -07:00
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