Commit Graph

113 Commits

Author SHA1 Message Date
99edb0a2e3 #comments are comments too, but not hash#in#words 2025-11-08 08:09:01 -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
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
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
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
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
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
fa034d4bd4 only constant values can be defaults 2025-11-02 16:52:20 -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
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
bc0684185a Add += and friends 2025-10-29 15:49:59 -07:00
4f961d3039 test native exceptions 2025-10-29 15:29:07 -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
1053a5ff52 Make dot-get work in the compiler AND with parens exprs 2025-10-29 13:19:47 -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
40a648cd19 allow ? in identifier name 2025-10-29 10:38:57 -07:00
3496b29072 tell the parser about builtin global functions 2025-10-29 10:18:19 -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
7da4c14962 parse arrays 2025-10-28 16:30:45 -07:00
c032192d61 Functions returned by parens expr can be called 2025-10-27 15:17:38 -07:00
c6c2646366 Do do 2025-10-27 14:50:54 -07:00
318142dfbb Update shrimp.ts 2025-10-27 12:45:59 -07:00
ffdd666685 Merge remote-tracking branch 'origin/main' into dotget-function-calls 2025-10-27 12:45:53 -07:00
0fc1f9f895 Merge pull request 'allow more unicode in variable names' (#8) from more-unicode-variable-names into main
Reviewed-on: #8
2025-10-27 19:43:55 +00:00
6c8c07e869 Update shrimp.ts 2025-10-27 12:36:29 -07:00
2fcd840493 Merge remote-tracking branch 'origin/main' into multiline-fn 2025-10-27 12:36:12 -07:00