Commit Graph

80 Commits

Author SHA1 Message Date
69bbe17992 "add double quoted strings" 2025-11-08 16:14:08 -08:00
63ee57e7f0 curly -> Curly 2025-11-08 16:13:39 -08:00
503ca41155 { curly strings } 2025-11-08 16:13:28 -08:00
019f7d84b1 Add ?? and ??= operators 2025-11-08 16:12:20 -08:00
7bbf43a725 bitwise operators 2025-11-08 16:10:13 -08:00
c741cfee51 hex and binary numbers 2025-11-08 16:05:28 -08:00
7e69356f79 allow _ in numbers (10_000_000) 2025-11-08 16:00:25 -08:00
45f31d0678 allow newlines in (some) parens expressions 2025-11-08 11:26:46 -08:00
4590d66105 '#comments are comments too, but not hash#in#words' 2025-11-08 08:09:58 -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
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
f57b1c985e NBD 2025-11-05 10:28:57 -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
78849c7d36 Merge remote-tracking branch 'origin/main' into array-destructuring 2025-10-31 10:08:03 -07:00
0d73789a25 Merge remote-tracking branch 'origin/main' into compound-assignment 2025-10-31 10:06:20 -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
982054eb54 [a=1 b=2 c=3] and [=] (empty dict) 2025-10-28 21:10:33 -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
ffdd666685 Merge remote-tracking branch 'origin/main' into dotget-function-calls 2025-10-27 12:45:53 -07:00
2fcd840493 Merge remote-tracking branch 'origin/main' into multiline-fn 2025-10-27 12:36:12 -07:00
28fab1235c Works with blank lines 2025-10-27 12:07:13 -07:00
6e432dd7a1 Made it work 2025-10-27 11:30:49 -07:00
972fd25fda update params scope detection, add array.1 (dotget array indices) 2025-10-26 22:23:46 -07:00
abd7d2e43b DotGet function calls 2025-10-26 16:28:56 -07:00
dba8430d9a Add # comments 2025-10-25 19:18:27 -07:00
035ec47885 allow func defs in parens 2025-10-25 17:22:26 -07:00
5234ad9a73 better stuff 2025-10-25 09:53:45 -07:00
d306d58b2f now it is do 2025-10-24 14:04:50 -07:00
7077762738 great stuff 2025-10-24 14:02:29 -07:00