Commit Graph

11 Commits

Author SHA1 Message Date
csh 7aa60e78f8 🐛 fix(tree_sitter): parse anonymous procedures and property accessors
accept anonymous procedure expressions, keyword-prefixed identifiers,

and read/write accessor nodes in the grammar and generated parsers.

sync ast tests, parser scripts, sample fixtures, and playbook

config with the updated parser behavior.
2026-05-24 11:07:30 +08:00
csh 32e1eb09db 🐛 fix(ast): support single-variable for-in fallback
normalize single-variable for-in nodes in the deserializer and
rewrite legacy input in test_ast when the bundled parser cannot
generate updated parse tables.

skip known-invalid tsf fixtures in test.sh so batch runs can
continue past syntax errors that the grammar should not accept.
2026-03-06 11:45:53 +08:00
csh f056b0cad1 test(lsp_server): update test scripts and tsf cases 2026-01-08 15:51:54 +08:00
csh b27dafb657 sync tree-sitter grammar and AST 2025-12-20 11:25:33 +08:00
csh 476e83beb8 feat(lsp_server): support rdo_expression and normalize call field
- rename tree-sitter fields for inherited/rdo to 'call'
- regenerate parser sources and sync into lsp-server
- add RdoExpression to AST + symbol/semantic visitors
2025-12-14 06:05:47 +08:00
csh f7d5a74615 ♻️ 使用`module`重构所有代码 2025-12-07 23:07:03 +08:00
csh 549f1d1b0a ♻️ 重构 2025-12-05 21:03:18 +08:00
csh 1776437d1d tree-sitter 新增语法支持`procedure` 2025-11-15 21:18:50 +08:00
csh 9714d8c9ac `grammar.js`支持`var`,`out`,`const`,`in`等语法参数
🚀 优化`grammar.js`的语法设计,合理重命名一些field

♻️ 重构ast的`struct`设计
2025-11-13 22:41:40 +08:00
csh 7dfbb713ac ♻️ 继续重构 2025-11-11 23:12:03 +08:00
csh 7e0b69c354 ♻️ 重构`tree-sitter-tsf` 2025-11-11 16:54:48 +08:00