aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-261-4/+16
| | | | | | | | | - 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
* Fixed a little semantic issue.Li Jin2026-03-121-4/+5
|
* 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-281-1/+7
|
* Fixed issue in global variables collecting.Li Jin2026-02-251-6/+10
|
* Fixed issue #246.v0.33.5Li Jin2026-02-241-5/+5
|
* Cleaned up and fixed more comment reserving codes.v0.33.4Li Jin2026-02-244-96/+155
|
* Fixed issue #245.Li Jin2026-02-243-11/+9
|
* Fixed comma position in class members with line number comments. Fixed issue ↵Li Jin2026-02-241-39/+45
| | | | #240.
* bugfix: insert comma before eol comment when line numbers onchrsm2026-02-231-1/+6
|
* Cleanup.Li Jin2026-02-223-32/+25
|
* Skip line-number comments on empty lines in table/class blockscodex/remove-line-number-comments-from-empty-linesLi Jin2026-02-201-0/+3
|
* 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
|
* Fix reserve comment parsing for table block comment linesLi Jin2026-02-191-3/+4
|
* Respect reserve comments in spread table/tableblock compilationLi Jin2026-02-191-0/+13
|
* Fix TableBlock indentation parsing after make genLi Jin2026-02-191-2/+2
|
* feat(parser): preserve TableBlock comment lines in ASTLi Jin2026-02-193-9/+14
|
* Bump version to 0.33.1Li Jin2026-02-181-1/+1
| | | | Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* Fix TableLit YueComment parsing with mixed-indent table linescodex/add-single-line-comments-support-to-astLi Jin2026-02-181-2/+6
|
* Use YueComment node for TableLit comment preservationLi Jin2026-02-184-19/+12
|
* Fix TableLit AST string formatting for comments and empty linesLi Jin2026-02-181-3/+18
|
* Fix TableLit comment nodes under non-reserve comment modeLi Jin2026-02-181-1/+14
|
* Add TableLit AST support for empty lines and multiline commentsLi Jin2026-02-183-8/+24
|
* Preserve TabLit single-line comments in ASTLi Jin2026-02-183-4/+14
|
* Add goto statement documentation and testsLi Jin2026-02-151-0/+2
| | | | | | | | | | | - 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>
* Fixed a format issue.Li Jin2026-02-121-1/+4
|
* Added more tests.Li Jin2026-02-121-4/+0
|
* Fixed issues.Li Jin2026-02-111-4/+5
|
* Supported multiple break values. Simplified some generated codes.Li Jin2026-02-114-120/+305
|
* Fixed docs.Li Jin2026-02-062-3/+3
|
* Fixed issue #227.Li Jin2026-02-053-19/+22
|
* Fixed global variables lint.v0.32.7Li Jin2026-01-301-0/+9
|
* Added more format function specs.Li Jin2026-01-292-2/+2
|
* Fixed compiler issues and added 800+ test cases.Li Jin2026-01-284-46/+54
|
* Add compiler improvements and comprehensive test suitecompiler-improvementsLi Jin2026-01-271-8/+12
| | | | | | | | - 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-261-12/+22
|
* Fixed compiler improvements and added comprehensive test suiteLi Jin2026-01-261-2/+3
| | | | | | | | | | | - 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>
* Cleanup.v0.32.4Li Jin2026-01-231-3/+3
|
* Fixed some `import global` related issue.Li Jin2026-01-232-13/+22
|
* Adding tests.Li Jin2026-01-222-7/+7
|
* Update.v0.32.3Li Jin2026-01-217-2631/+4746
|
* Fixed a glitch.v0.32.1Li Jin2026-01-202-2/+2
|