1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-08-15 20:02:56 +02:00

6 Commits

Author SHA1 Message Date
Tim Voronov
b69f8af716 Add syntax error tests for FOR loops and COLLECT statements: enhance diagnostics for missing values, incomplete clauses, and unexpected syntax to improve error handling and clarity. 2025-08-10 12:30:07 -04:00
Tim Voronov
f4dab1e3a3 Refactor error handling for FOR and COLLECT statements: enhance error messages for missing variables, improve error span tracking, and streamline error analysis for better clarity and maintainability. 2025-08-06 16:30:51 -04:00
Tim Voronov
26fa6cd3c3 Refactor error handling: replace NewSyntaxError with a more comprehensive parseError method, improve syntax error parsing, introduce token tracking via TrackingTokenStream and TokenHistory, add SkipWhitespaceForward helper, update parser to support token stream transformations, and enhance error messaging across the compiler and test cases. 2025-07-30 20:41:41 -04:00
Tim Voronov
c24d802671 Refactor error handling: replace Location with Span, standardize error span processing across the compiler, remove unused location-related code, and update snippets and tests accordingly. 2025-07-30 14:20:24 -04:00
Tim Voronov
d24fac821b Refactor compiler and error handling: introduce multi-error support, improve snippet generation, standardize error listener, update compiler context, and enhance test cases. 2025-07-29 18:35:55 -04:00
Tim Voronov
b2163ebc14 Add error handling and refactor compiler context: introduce error handling for variable declarations, update compiler context to use file source, and enhance error reporting for compilation issues. 2025-07-29 14:04:48 -04:00