<feed xmlns='http://www.w3.org/2005/Atom'>
<title>yuescript/spec/inputs/test, branch feature/ast-node-end-position</title>
<subtitle>A mirror of https://github.com/pigpigyyy/Yuescript.git
</subtitle>
<id>https://git.lua4.win/yuescript/atom?h=feature%2Fast-node-end-position</id>
<link rel='self' href='https://git.lua4.win/yuescript/atom?h=feature%2Fast-node-end-position'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/'/>
<updated>2026-03-26T08:19:50+00:00</updated>
<entry>
<title>test: add test cases for empty table pattern matching</title>
<updated>2026-03-26T08:19:50+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-03-26T08:19:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=bc1a80badfb734fb9695ee4831e25cb68b8e7765'/>
<id>urn:sha1:bc1a80badfb734fb9695ee4831e25cb68b8e7765</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>feat: add m_end position to AST nodes</title>
<updated>2026-03-26T03:34:38+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-03-26T03:16:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=ad0cd3a39d5d77ec32d2f203c7258f727a06ba6e'/>
<id>urn:sha1:ad0cd3a39d5d77ec32d2f203c7258f727a06ba6e</id>
<content type='text'>
- 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
</content>
</entry>
<entry>
<title>Cleanup.</title>
<updated>2026-02-21T09:34:07+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-21T09:34:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=94ced94bfdca63023499637fe540d618533871e4'/>
<id>urn:sha1:94ced94bfdca63023499637fe540d618533871e4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add test suite for reserve comments feature</title>
<updated>2026-02-20T13:02:09+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-20T13:02:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=1c93c88a3f79cfce68ee6d8c4cd85156aaad1101'/>
<id>urn:sha1:1c93c88a3f79cfce68ee6d8c4cd85156aaad1101</id>
<content type='text'>
- 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 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Added more tests.</title>
<updated>2026-02-12T01:08:12+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-12T01:08:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=640dcd82b30629f54596820c09144dfff10cb2c0'/>
<id>urn:sha1:640dcd82b30629f54596820c09144dfff10cb2c0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>More test cases.</title>
<updated>2026-02-11T17:44:01+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-11T17:44:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=4e7edb2bd615e0a86b593c56c3392fab2110b1a1'/>
<id>urn:sha1:4e7edb2bd615e0a86b593c56c3392fab2110b1a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed docs.</title>
<updated>2026-02-06T02:30:49+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-02-06T02:30:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=aa3ecc7badfb39cb9167fb95c9a678257c1d9954'/>
<id>urn:sha1:aa3ecc7badfb39cb9167fb95c9a678257c1d9954</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added more tests.</title>
<updated>2026-01-30T10:16:45+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-01-30T10:16:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=8c3d786157ec7fef3072feac55c2d5450800568b'/>
<id>urn:sha1:8c3d786157ec7fef3072feac55c2d5450800568b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Added more format function specs.</title>
<updated>2026-01-29T07:16:07+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-01-29T07:16:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=0cece2cad82bcd95bcb20f3d984817f7085fd4f8'/>
<id>urn:sha1:0cece2cad82bcd95bcb20f3d984817f7085fd4f8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed Windows build.</title>
<updated>2026-01-28T16:49:41+00:00</updated>
<author>
<name>Li Jin</name>
<email>dragon-fly@qq.com</email>
</author>
<published>2026-01-28T16:49:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/yuescript/commit/?id=022d4298a7d92912282c62852d76b9b50dce86ad'/>
<id>urn:sha1:022d4298a7d92912282c62852d76b9b50dce86ad</id>
<content type='text'>
</content>
</entry>
</feed>
