fix: improve parser - fix ASCII strings and comment indentation handling

- Remove 'asciiend' from ascii_string grammar rule (handled by scanner)
- Add scanner logic to skip comment-only lines when measuring indentation
- Update scanner to include 'asciiend' in ASCII_CONTENT token
- Implement external scanner for BLOCK_COMMENT (partial fix)

Results: Reduced parse errors from 156 to 119 (23% improvement)
This commit is contained in:
2025-11-27 11:09:32 +01:00
parent 06e6e3b098
commit 36d6c3947a
7 changed files with 15566 additions and 15434 deletions

2
Cargo.lock generated
View File

@@ -80,7 +80,7 @@ dependencies = [
[[package]]
name = "tree-sitter-stonescript"
version = "0.0.1"
version = "0.1.0"
dependencies = [
"cc",
"tree-sitter",