Xuanyi Zhou
Xuanyi Zhou
While trying to run the tests (I haven't modified the code yet), it always seems to get stuck at ``` test language: "external_and_internal_anonymous_tokens" example: "corpus - single-line statements - internal...
Also, I've had a question unrelated to the issue back when I started using the library: tree-sitter uses both byte positions and line/column positions, which seems a bit redundant. I...
> Most applications that _use_ Tree-sitter need to be able to query for nodes' positions (in terms of row and column), not just their byte range. I understand that this...
I see. It would still be helpful, though, to properly define what is a line break: currently I can't find any documentation on this. From the source code it seems...
Running `script/test -g` gives this error: ``` error: Found argument '-g' which wasn't expected, or isn't valid in this context USAGE: cargo.exe test --package ... For more information try --help...
Yes. I was surprised that these bash scripts actually run at all.
Well... maybe I wasn't running the bash scripts. Running `test.cmd -g` gives the same error.
Running the executable directly didn't lock up, but 73 tests failed. It produced a LOT of output - I can post them here if you're interested.
> Maybe look at the appveyor config to see a concrete set of instructions that reliably pass on windows? I'm not so familiar with appveyor - can you elaborate on...
The freeze seems to only happen with the environment variable `RUST_TEST_THREADS` set to `1`. It's stuck in `parser.c:394` in `ts_parser__lex()`, where the `scan()` function repeatedly calls `ts_lexer__advance()`. Since `self->chunk` is...