Commit Graph

210 Commits

Author SHA1 Message Date
750ffbbfa8 whee 2025-11-05 15:18:03 -08:00
a5c7cc6304 fun 2025-11-05 15:16:57 -08:00
4ae12a217e update reef 2025-11-05 15:11:42 -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
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
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
70ac5544a9 old syntax 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
6f531a2ebf ./bin/shrimp parse file 2025-11-03 20:19:33 -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
Chris Wanstrath
cc06bdf2a7 update package name 2025-11-03 13:08:36 -08:00
fec4b626df Merge pull request 'Add default param values' (#18) from defaults into main
Reviewed-on: #18
Reviewed-by: probablycorey <probablycorey@gmail.com>
2025-11-03 16:54:43 +00: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
0d631ccf84 Merge pull request 'Array Destructuring' (#17) from array-destructuring into main
Reviewed-on: #17
2025-10-31 17:08:25 +00: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
0aeaed60c3 Merge pull request 'Add += and friends' (#16) from compound-assignment into main
Reviewed-on: #16
2025-10-31 17:06:55 +00: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
4f53218b9f Merge pull request 'Add Exceptions to Prelude' (#15) from add-exceptions into main
Reviewed-on: #15
2025-10-31 17:05:07 +00:00
34c7d244ce Merge branch 'main' into add-exceptions 2025-10-31 17:04:54 +00:00
2329a2ebb6 Update bun.lock 2025-10-31 10:04:43 -07:00
c883854187 Merge branch 'main' into try-catch-throw-finally 2025-10-31 16:53:01 +00:00
f31be80bb0 fix dotget 2025-10-29 21:37:45 -07:00
789481f4ef [a b] = [1 2 3] 2025-10-29 19:13:03 -07:00
a8fd79a990 push/pop/shift/unshift (and fix sort() 2025-10-29 19:05:49 -07:00
2abf3558d5 yay 2025-10-29 16:03:59 -07:00
bc0684185a Add += and friends 2025-10-29 15:49:59 -07:00