-
## Elevator Pitch
Allow a user to define rules for finding parts of files in a host language that embed other languages. Additionally support referring to the outer language within the inner langua…
-
I think we overlooked the necessity of an if-statement. It's generally more of an imperative tool, but I think it can still be applicable here. This would work similarly to the SQL case statement.
``…
-
The parsing strategy described in https://spec.commonmark.org/0.30/#appendix-a-parsing-strategy does not appear to reflect the actual implementations.
Specifically, the section "An algorithm for p…
-
I've been using `tree-sitter-hl-mode` for `rustic-mode` and `js2-mode` and it seems to be working great. When I try to enable it in a `.tsx` file (`typescript-tsx-mode`), however, I get an error and t…
-
This [nice idea](https://github.com/tc39/proposal-class-fields/issues/137#issuecomment-428339426) from @bakkot may deserve further investigation in TC39. What do you all think?
> I think the "forbi…
-
If a type `t` is void (has no values), any control flow path whose context contains a variable of type `t` is automatically unreachable. This is useful information for a compiler writer! Sadly, in Sta…
-
On codeplex this was a popular feature request:
https://typescript.codeplex.com/workitem/111
https://typescript.codeplex.com/workitem/1926
Personally I think preprocessor directives like #if, #elif,…
-
Thanks for you help with the issue I posted. I wrote the function to clean pgn's.
```
const clean = (pgn) => {
const regex = /[\d*a-hxRNBQKPO[\]{};.=/ \r\n+-]/
let isOpen = false
…
-
Hello,
I have an issue when reusing rule's id in another rule.
Let's say I have this C file:
```
static int foo(void)
{
do_something();
return 0;
}
MY_MACRO(foo, BAR, …
-
It would require to add a `switch` keyword. But `case` and `default` can be replaced with other available symbols like `|` and `else`. It has implicit return.
Other alternatives to `else` as sugges…