aboutsummaryrefslogtreecommitdiff
path: root/spec/outputs (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
* Updated spec.Li Jin2026-03-131-0/+6
|
* Fixed destructuring with empty and comment lines in table issue. Updated docs.v0.33.7Li Jin2026-02-286-0/+295
|
* Updated docs.Li Jin2026-02-285-0/+290
|
* Updated docs. [skip CI]Li Jin2026-02-245-95/+95
|
* Cleaned up and fixed more comment reserving codes.v0.33.4Li Jin2026-02-2415-27/+114
|
* Updated all-in-one docs.v0.33.2Li Jin2026-02-241-1/+1
|
* Fixed comma position in class members with line number comments. Fixed issue ↵Li Jin2026-02-241-1/+1
| | | | #240.
* Fixed some scripts.v0.33.1Li Jin2026-02-222-2/+25
| | | | Fix.
* Cleanup.Li Jin2026-02-221-0/+33
|
* 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>
* Add goto statement documentation and testsLi Jin2026-02-155-0/+590
| | | | | | | | | | | - Added goto.md documentation files in all languages (en, de, zh, pt-br, id-id) - Updated conditionals.md to include goto statement references - Updated VitePress config to include new goto documentation pages - Updated makefile for goto documentation compilation - Added test outputs for goto examples in all languages - Updated yue.cpp core implementation Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Added the all-in-one doc.Li Jin2026-02-126-5/+141
|
* Updated docs.Li Jin2026-02-126-1311/+1771
|
* Added more tests.Li Jin2026-02-122-3/+56
|
* More test cases.Li Jin2026-02-121-0/+1697
|
* Fixed issues.Li Jin2026-02-112-12/+6
|
* Supported multiple break values. Simplified some generated codes.Li Jin2026-02-1111-175/+101
|
* Updated docs.v0.32.9Li Jin2026-02-065-456/+426
|
* Fixed docs.Li Jin2026-02-067-5396/+20836
|
* Updated code highlight for doc site. [skip CI]Li Jin2026-02-062-2/+2
|
* Fixed issue #227.Li Jin2026-02-051-0/+3
|
* Splited docs.Li Jin2026-02-043-3919/+4048
|
* Updated doc.Li Jin2026-02-033-9/+69
|
* 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-2823-149/+3584
|
* 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-2635-2931/+3237
|
* Fixed compiler improvements and added comprehensive test suiteLi Jin2026-01-2615-0/+2918
| | | | | | | | | | | - Fixed makefile preprocessor macro definitions (removed spaces in -D flags) - Added null pointer check in compiler class declaration handling - Added comprehensive test specifications for various language features: - attrib, backcall, cond, config, existential, export, goto - import, literals, macro, metatable, operators, return - string, switch, vararg, with Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Adding tests.Li Jin2026-01-2213-1/+232
|
* Update.v0.32.3Li Jin2026-01-213-2/+83
|
* Fixed a glitch.v0.32.1Li Jin2026-01-201-4/+4
|
* Added more specs.v0.32.0Li Jin2026-01-191-0/+9
|
* Made `;` work as statements separator.Li Jin2026-01-196-12/+94
|
* Fixed a crash issue.v0.31.1Li Jin2026-01-152-2/+24
|
* Added const attributes.Li Jin2026-01-154-67/+219
|
* Fixed globals importing order.Li Jin2026-01-153-11/+11
|
* Added `import global` syntax.Li Jin2026-01-153-120/+284
|
* Added named vararg support.Li Jin2025-12-253-0/+192
|
* Fixed empty line as block issue.v0.30.2Li Jin2025-12-041-0/+11
|
* Updated reserved comments function.v0.30.1Li Jin2025-12-041-1/+1
|
* Updated syntax.v0.29.9Li Jin2025-11-212-1/+21
| | | | | * Added error check for mixed use of tabs and spaces. * Supported SimpleTable destructuring for ForEach syntax.
* Fixed code generating.v0.29.8Li Jin2025-11-143-45/+20
|
* Fixed issue #223.Li Jin2025-11-143-0/+217
|
* Updated spec.Li Jin2025-11-054-11/+11
|
* Increased call stack size.Li Jin2025-09-161-10/+13
|
* Fix.Li Jin2025-09-151-13/+10
|