aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* test: add test cases for empty table pattern matchingfeature/ast-node-end-positionLi Jin2026-03-262-1/+327
| | | | | | | | | | - 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
* fix: empty table pattern in switch generates valid Lua codeLi Jin2026-03-261-4/+39
| | | | | | | - Add EmptyTableType enum to distinguish [] and {} patterns - [] (empty list) generates '#x == 0' check - {} (empty table) generates 'next(x) == nil' check - Fixes issue #249
* feat: add m_end position to AST nodesLi Jin2026-03-265-6/+198
| | | | | | | | | - 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
* Code CleanupDania Rifki2026-03-256-302/+257
| | | | Also Bump Dependencies
* Updated spec.Li Jin2026-03-132-0/+11
|
* Fixed a little semantic issue.Li Jin2026-03-121-4/+5
|
* Updated README. [skip CI]Li Jin2026-03-041-1/+1
|
* Fixed empty lines in statement reserving issue.v0.33.9Li Jin2026-03-041-6/+12
|
* Fixed `yue.check` missed the module options issue.v0.33.8Li Jin2026-03-022-13/+13
|
* Fixed destructuring with empty and comment lines in table issue. Updated docs.v0.33.7Li Jin2026-02-2818-1/+475
|
* Updated docs.Li Jin2026-02-2815-0/+490
|
* Updated package.json. [skip CI]v0.33.6Li Jin2026-02-251-1/+1
|
* Updated doc/package.json for https://registry.npmmirror.com don't have ↵Li Jin2026-02-253-6/+8
| | | | @fontsource/noto-serif-sc 5.2.9. [skip CI]
* Fixed issue in global variables collecting.Li Jin2026-02-251-6/+10
|
* Use lts node versionDania Rifki2026-02-251-1/+1
|
* Add cache hit conditionDania Rifki2026-02-251-0/+2
|
* Update actions/upload-pages-artifact to v4Dania Rifki2026-02-251-1/+1
|
* Switch from yarn to pnpmDania Rifki2026-02-254-18/+1829
|
* Update tagline in docs (#247)Dania Rifki2026-02-258-75/+82
|
* Updated README.md. [skip CI]Li Jin2026-02-251-4/+4
|
* Fixed issue #246.v0.33.5Li Jin2026-02-248-15/+45
|
* Updated README.md and CHANGELOG.md. [skip CI]Li Jin2026-02-242-38/+346
|
* Updated docs. [skip CI]Li Jin2026-02-2420-268/+276
|
* Cleaned up and fixed more comment reserving codes.v0.33.4Li Jin2026-02-2421-123/+330
|
* Fixed issue #245.Li Jin2026-02-243-11/+9
|
* Updated all-in-one docs.v0.33.2Li Jin2026-02-247-12475/+15
|
* Revert zh text to previous versionDania Rifki2026-02-241-1/+1
|
* fix: update table literals examples to use curly braces instead of square ↵Dania Rifki2026-02-245-15/+15
| | | | | | brackets Also rewrote the final paragraph
* Fixed comma position in class members with line number comments. Fixed issue ↵Li Jin2026-02-243-41/+47
| | | | #240.
* bugfix: insert comma before eol comment when line numbers onchrsm2026-02-231-1/+6
|
* FIx slug (stale branch issue)Dania Rifki2026-02-236-8/+17
|
* Clickable hero image on homepage to navigate to the mascot reference page.Dania Rifki2026-02-236-3/+38
|
* Correct reference -> extras documentation slugDania Rifki2026-02-2211-2/+2
|
* Updated doc. [skip CI]Li Jin2026-02-225-4/+4
|
* Fixed some scripts.v0.33.1Li Jin2026-02-225-10/+88
| | | | Fix.
* Updated .gitattributes. [skip CI]Li Jin2026-02-221-0/+3
|
* Cleanup.Li Jin2026-02-225-32/+97
|
* format with prettierDania Rifki2026-02-213-3/+5
|
* Add Mascot to documentationDania Rifki2026-02-2117-17/+238
| | | | And minor tweaks to documentation structure
* Cleanup.Li Jin2026-02-211-471/+0
|
* Merge branch 'feature/reserve-comments-tests' into ↵Li Jin2026-02-206-0/+1572
|\ | | | | | | codex/remove-line-number-comments-from-empty-lines
| * Add test suite for reserve comments featureLi Jin2026-02-206-0/+1572
| | | | | | | | | | | | | | | | - 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>
* | Skip line-number comments on empty lines in table/class blockscodex/remove-line-number-comments-from-empty-linesLi Jin2026-02-202-0/+24
|/
* Emit single blank line for ClassBlock EmptyLineLi Jin2026-02-201-3/+1
|
* Preserve multi-empty lines in ClassBlock comments outputLi Jin2026-02-201-1/+3
|
* Fix ClassBlock comment placement in generated LuaLi Jin2026-02-201-26/+38
|
* Fix ClassBlock parsing to keep comment linesLi Jin2026-02-201-2/+2
|
* Emit class body comments in reserve-comment modeLi Jin2026-02-201-0/+10
|
* Support comments and empty lines in class blockscodex/add-blank-line-handling-to-classblockLi Jin2026-02-204-7/+20
|
* Preserve blank lines between table comments with reserve-commentsLi Jin2026-02-193-4/+13
|