Richard Feldman
257d13a4d3
Drop unnecessary "Here is the problematic code:"
2025-08-16 13:52:38 -04:00
Richard Feldman
99dfffec89
Revert pattern assignment parsing with lookahead
2025-08-16 13:12:10 -04:00
Richard Feldman
d9f693925d
Fix duplicate expected_equals_after_pattern handler
...
Removed duplicate handler that was causing compilation error after merge.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 12:59:27 -04:00
Richard Feldman
b33d2a5b50
Merge origin/main into fix-token-regions
...
Resolved conflicts in src/parse/AST.zig by:
- Keeping the origin/main version of multi_arrow_needs_parens handler
- Preserving our custom no_else handler for better error messages
- Keeping our expected_equals_after_pattern diagnostic and handler
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-16 12:58:46 -04:00
Richard Feldman
63603783dd
Fix parsing bug around patterns
2025-08-16 12:57:23 -04:00
Richard Feldman
b490acffee
Tweak an error message
2025-08-16 12:49:18 -04:00
Richard Feldman
3d88ee6a92
Improve some more parsing error messages
2025-08-16 12:41:38 -04:00
Richard Feldman
053cc6e6bf
Improve error reporting regions
2025-08-16 12:35:04 -04:00
Richard Feldman
b149d28cff
Add a helpful error for parsing curried fn types
2025-08-16 12:31:22 -04:00
Richard Feldman
5a34cce18e
Add a helpful error for parsing curried fn types
2025-08-16 11:41:45 -04:00
Luke Boswell
0f59ec41f4
restore parser tests
2025-08-12 08:12:46 +10:00
Luke Boswell
5b739ad2d7
WIP
2025-08-11 17:12:27 +10:00
Luke Boswell
6cf71d5214
WIP test compiling
2025-08-11 16:28:15 +10:00
Luke Boswell
c981b23545
WIP
2025-08-11 11:20:20 +10:00
Luke Boswell
6aaab3276c
untangle cyclic dependencies
2025-08-10 10:17:58 +10:00
JRI98
2b78e6bcb8
Better fix for parse crash caused by int suffix
...
zig build repro-parse -- -b bW9kdWxlW10hMB8udA== -v
2025-08-06 22:50:21 +01:00
JRI98
cc0036125c
Refactor formatter to prevent unstable formatting
2025-08-02 23:47:20 +02:00
Luke Boswell
b99d5304dc
Merge pull request #8134 from lukewilliamboswell/e2e-playground
...
Add a test harness for the WASM Playground
2025-07-31 17:20:29 +10:00
Luke Boswell
78176b4170
Revert to original SExpr for HTML, use *const in more places
2025-07-31 15:14:19 +10:00
Jared Ramirez
0065acd1d6
Remove mod_ty and panic
...
This change removes `.mod_ty` from parse type anno AST since it was not
user anywhere and `.ty` contains a `qualifiers` field, making `.mod_ty`
redundant.
2025-07-30 18:12:37 -07:00
Luke Boswell
b07b83820a
Add a test harness for WASM Playground
2025-07-31 09:35:21 +10:00
JRI98
f0904b7747
Fix parser fuzz crash by always formatting blocks with curly brackets
...
zig build repro-parse -- -b -v bW9kdWxlW11lOntlOlV9fHx7e317fXswfS5hfQ==
2025-07-29 22:23:43 +02:00
JRI98
6d0ded87de
Unblock canonicalize fuzzer
...
Fix #8051
2025-07-29 22:23:41 +02:00
JRI98
8545778b74
Fix parser fuzz crashes caused by braces tracking in the tokenizer
2025-07-29 22:23:41 +02:00
Luke Boswell
760280fa17
WIP refactor parse module
2025-07-26 09:19:34 +10:00