Andrew Dupont

Results 79 issues of Andrew Dupont

There appears to be one type of comment node, and it's called `comment`. Both line comments and block comments are assigned to this node type. As a result, the grammar...

I’ve had this in my head for a while, but it’s time to write it down. I’ve worked almost entirely with `web-tree-sitter`. But I’ve seen how other bindings have a...

enhancement
wasm

I imagine stuff like this would fall under the umbrella of what @maxbrunsfeld described [in this comment](https://github.com/tree-sitter/tree-sitter/issues/1870#issuecomment-1248659929), but I had a thought just now that I wanted to write down...

parser-generation
error-recovery

**Describe the bug** Reproducible from the playground: ``` cd tree-sitter-markdown tree-sitter build-wasm . && tree-sitter playground ``` **Code example** ```markdown foo ``` **Expected behavior** Any sane parsing of the tree...

bug

This started on commit cbd998c and has affected this parser ever since. These symptoms persist on both `master` and cbd998c: ``` tree-sitter build-wasm . && tree-sitter playground ``` The resulting...

Support for HTML entities was requested in #10, and was mostly addressed in #50, but I think it's reasonable to want entities to be recognized inside of attribute values as...

Fixes #44. I tried to roughly follow the design of template strings in `tree-sitter-javascript`. Instead of doing something like… ``` (attribute_value (value_fragment) (expression (raw_text_expr)) (value_fragment) ) ``` …I instead did…...

Fixes #48. I failed to find a comprehensive spec for `#each`, but experimentation in the REPL shows that it can take any sort of array literal, any sort of string,...

Svelte 5 [introduces snippets](https://svelte-5-preview.vercel.app/docs/snippets). The `#snippet` block defines a view helper/macro, and the `@render` tag renders it. Each one allows a single optional argument. They weren't hard to add to...