aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: add test cases for empty table pattern matchingfeature/ast-node-end-positionLi Jin2026-03-261-1/+244
| | | | | | | | | | - Test [] pattern matches tables with #x == 0 - Test {} pattern matches tables with next(x) == nil - Test distinguishing between [] and {} patterns - Test empty patterns with then syntax - Test empty patterns with multiple when branches Related to #249
* feat: add m_end position to AST nodesLi Jin2026-03-262-1/+88
| | | | | | | | | - Add end line and column (m_end.m_line, m_end.m_col) to AST output - New AST format: [name, begin_line, begin_col, end_line, end_col, ...children] - Update format_spec.yue to normalize end positions for comparison - Add ast_spec.yue tests for AST end position feature Closes #251
* Cleaned up and fixed more comment reserving codes.v0.33.4Li Jin2026-02-244-7/+7
|
* Add test suite for reserve comments featureLi Jin2026-02-201-0/+471
| | | | | | | | - Add assert_output_not_contains helper function for negative assertions - Add reserve_comments_spec test with Yue and Lua files - Integrate new test suite into run_all_tests.sh Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Added more tests.Li Jin2026-02-122-3/+56
|
* More test cases.Li Jin2026-02-121-0/+1697
|
* Fixed issues.Li Jin2026-02-111-10/+6
|
* Supported multiple break values. Simplified some generated codes.Li Jin2026-02-113-74/+40
|
* Fixed docs.Li Jin2026-02-061-1/+1
|
* Added more tests.Li Jin2026-01-308-0/+580
|
* Added more format function specs.Li Jin2026-01-291-16/+59
|
* Fixed Windows build.Li Jin2026-01-291-1/+1
|
* Fixed compiler issues and added 800+ test cases.Li Jin2026-01-2821-141/+3576
|
* Add compiler improvements and comprehensive test suitecompiler-improvementsLi Jin2026-01-2710-0/+1779
| | | | | | | | - Fixed path option handling to avoid semicolon concatenation issues - Added exception handling for std::length_error and general exceptions - Added comprehensive test specifications for advanced language features Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Updated tests.Li Jin2026-01-2618-7/+3197
|
* Adding tests.Li Jin2026-01-226-1/+126
|
* Update.v0.32.3Li Jin2026-01-211-0/+1
|
* Updated reserved comments function.v0.30.1Li Jin2025-12-041-1/+1
|
* remove redundant 'do' blocks in code generation.Li Jin2024-03-211-9/+7
|
* more test cases.v0.23.0Li Jin2024-03-191-0/+1
|
* add yue.format() function. fix yue ast to code function issues.Li Jin2023-12-131-0/+133
|
* fix issue #114.Li Jin2022-11-091-1/+185
|
* fix issue #81, refactor continue with gotos.Li Jin2022-09-301-34/+17
|
* fix readme.Li Jin2022-09-131-1/+31
|
* adding test cases.Li Jin2022-07-271-0/+36
|
* add favicon and tests.v0.10.23Li Jin2022-05-242-0/+1707