-
It would be useful to be able to inject rules written as python functions into PEG grammars.
This would accomplish two things:
1. Greater portability for libraries. I could publish a library with pyth…
-
Being worked on by biobricks (Zaki)
-
### Did you check the tree-sitter docs?
- [X] I have read all the [tree-sitter docs](https://tree-sitter.github.io/tree-sitter/using-parsers) if it relates to using the parser
### Is your featur…
-
In https://github.com/Project-OSRM/osrm-backend/blob/445225bf6dc719ef4f91fe6ab7e6fa2f4941fef7/include/server/api/route_parameters_grammar.hpp#L31-L37 two parameters `alternatives` and `continue_straig…
-
**Describe the bug**
When I stroke PREUT/TPAOEU, I get 'prettyify' even though the correct form is "prettify". I suspact that there's a mistake in the grammar rules that does not account for this cas…
-
I am using skylighting 0.12.3.1.
I have the following example file:
```scheme
(define-syntax grammar
(syntax-rules (→)
((_ (left1 → right11 right12 ...)
(left2 → right21 right2…
-
## Issue Description
Many rule warnings (errors) that need addressing
### What should happen:
No/Less Warnings
### What actually happens:
Warnings
```
verilog-parser/src/verilog_parse…
-
## The Problem
Grammar allows to define regexes `before` and `after` without any complains.
```
grammar Foo {
token TOP { }
regex before { . }
}
```
Subsequent usage is inconsistent t…
-
Grammar:
```js
module.exports = grammar({
name: 'bugcase',
rules: {
source_file: $ => $.identifier,
identifier: $ => token(repeat(/a/))
}
});
```
Source file:
```
b
```
…
-
This is a proposal to convert the F# grammar rules in the F# spec into a formal format (specifically, into ANTLR4, which is an EBNF format).
The F# spec uses today what is termed in the spec itself…