aboutsummaryrefslogtreecommitdiff
path: root/spec/inputs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* test: add test cases for empty table pattern matchingfeature/ast-node-end-positionLi Jin2026-03-261-0/+83
| | | | | | | | | | - 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/+94
| | | | | | | | | - 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/+5
|
* Fixed destructuring with empty and comment lines in table issue. Updated docs.v0.33.7Li Jin2026-02-281-0/+13
|
* Cleaned up and fixed more comment reserving codes.v0.33.4Li Jin2026-02-242-0/+61
|
* Updated all-in-one docs.v0.33.2Li Jin2026-02-241-1/+5
|
* 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-5/+61
| | | | Fix.
* Cleanup.Li Jin2026-02-221-0/+39
|
* Cleanup.Li Jin2026-02-211-471/+0
|
* Add test suite for reserve comments featureLi Jin2026-02-202-0/+884
| | | | | | | | - 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 the all-in-one doc.Li Jin2026-02-121-3/+7
|
* Updated docs.Li Jin2026-02-121-1/+1
|
* Added more tests.Li Jin2026-02-122-2/+24
|
* More test cases.Li Jin2026-02-121-0/+840
|
* Fixed docs.Li Jin2026-02-062-62/+40
|
* Fixed issue #227.Li Jin2026-02-051-0/+4
|
* Splited docs.Li Jin2026-02-041-21/+80
|
* Updated doc.Li Jin2026-02-031-2/+2
|
* Updated docs.Li Jin2026-02-031-4/+4
|
* Added more tests.Li Jin2026-01-308-0/+224
|
* Added more format function specs.Li Jin2026-01-291-15/+58
|
* Fixed Windows build.Li Jin2026-01-291-1/+1
|
* Fixed compiler issues and added 800+ test cases.Li Jin2026-01-2823-182/+176
|
* Add compiler improvements and comprehensive test suitecompiler-improvementsLi Jin2026-01-2725-0/+2744
| | | | | | | | - 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-2615-48/+49
|
* Fixed compiler improvements and added comprehensive test suiteLi Jin2026-01-2617-0/+1835
| | | | | | | | | | | - 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-0/+97
|
* Update.v0.32.3Li Jin2026-01-212-0/+18
|
* Fixed a glitch.v0.32.1Li Jin2026-01-201-1/+1
|
* Added more specs.v0.32.0Li Jin2026-01-191-0/+9
|
* Made `;` work as statements separator.Li Jin2026-01-194-14/+57
|
* Fixed a crash issue.v0.31.1Li Jin2026-01-151-0/+7
|
* Added `import global` syntax.Li Jin2026-01-151-0/+86
|
* Added named vararg support.Li Jin2025-12-251-0/+44
|
* Refactored FnArgsDef rules. Fixed issue #224.v0.30.3Li Jin2025-12-082-4/+4
|
* Fixed more error messages.Li Jin2025-12-052-2/+2
|
* Fixed empty line as block issue.v0.30.2Li Jin2025-12-041-0/+8
|
* Updated reserved comments function.v0.30.1Li Jin2025-12-041-1/+1
|
* Updated syntax.v0.29.9Li Jin2025-11-217-11/+21
| | | | | * Added error check for mixed use of tabs and spaces. * Supported SimpleTable destructuring for ForEach syntax.
* Fixed issue #223.Li Jin2025-11-141-0/+10
|
* Increased call stack size.Li Jin2025-09-161-0/+1
|
* Fix.Li Jin2025-09-151-1/+0
|
* Fixed issue for reversed indexing.Li Jin2025-09-151-0/+133
|
* Added function argument destructuring.Li Jin2025-08-261-0/+31
|
* Fixed issue #222.v0.29.3Li Jin2025-07-271-0/+10
|
* Added specs, tests and docs.Li Jin2025-07-185-38/+140
|
* Added new syntax.Li Jin2025-06-043-0/+102
| | | | | | | - Slice Expression. - Reversed Indexing,. - Range Destructuring. - Table Range Matching.
* Added a new test.Li Jin2025-05-301-0/+61
|
* Replace `try!` with `try?`.Li Jin2025-05-281-10/+10
|