-
So I was thinking about `combine` a bit recently and it seems to me unlike its haskell older brother it has a problem parsing recursive grammars. Take this example of a parenthesis matching parser tha…
obrok updated
6 years ago
-
There should be an easy way for one grammar to call another grammar.
Lately we've seen a number of people playing around a lot more with how one grammar can interact with another (for instance …
-
### Description
There are some new changes in Svelte 5 that require changes to the syntax highlighter so that it works properly. Snippets for example currently render incorrectly.
![18:28:33](https:…
-
Raised by @jabhay Geoscape
Some of the examples are hard to follow, and in my view don't reflect the model. I suspect this is due to my interpretation, so requires clarification with the author. E.…
-
this test:
```
#[test]
fn print_sexp() {
let code = r#""#;
let mut parser = tree_sitter::Parser::new().unwrap();
let lang = tree_sitter_html::language().into();
…
-
1. Meta grammar: all meta rules for the semantic translator.
2. Grammars for test files.
-
ANTLR 4 does not recognize the end lines correctly. Below is the link to the grammar file we used with an example
Link: https://github.com/antlr/grammars-v4/tree/master/python/python2_7_18
1. de…
-
It'd be nice to get tree-sitter grammars autogenerated from lalrpop grammars, likely by some sort of command-line tool. This'd be a first step towards https://github.com/lalrpop/lalrpop/issues/453 for…
-
We use Lua patterns everywhere, but pandoc ships with lpeg and (lpeg.re) specifically. We should _definitely_ switch to those.
(cc @cderv: lpeg is a great parsing engine, it turns out, and lpeg.re …
-
Hi,
is there a way to create grammars/dictionaries at runtime?
resle updated
6 years ago