-
Before I would like express my thanks to you since we have compiler principles this semester. Our compiler project is totally based on your work and we change the code by ourselves so it can scan C-s…
-
I have a grammar with multiple top-level non-terminals that I want to use at different points in my program. Currently I have to specify ONE root rule when loading a grammar with ParserPEG. That means…
-
#877 give me an idea, that is will be worth to use `_` (self-reference) in the `if` key:
```yaml
seq:
- id: predictor
type: u1
if: _ == 42
```
This should generate code that use looka…
-
![phone grammar](https://cloud.githubusercontent.com/assets/1431904/12752162/1889337a-c9d2-11e5-9e54-7a853d7b5b18.png)
-
Consider what peg (https://docs.rs/peg/latest/peg/#precedence-climbing) was doing, I think it is suitable for us to implement [precedence climbing](https://en.wikipedia.org/wiki/Operator-precedence_pa…
-
In my use case of developing an iXML grammar for XPath expressions, I've encountered a case where the name of a `FunctionCall` can be any `QName` except a small number of reserved 'tokens', to avoid a…
-
The XPath grammars are awesome. I am not sure how to ensure their conformance abstractly (how to test them) - I'm thinking about that. Meantime I have found what appears to be a bug.
Using https://…
-
i am creating a small programming language and i have set the grammar to handle statements like this:
statements
-> statement %NL
{%
(data) => {
return [d…
-
### Terraform Version
```shell
Terraform v1.2.7
on darwin_amd64
```
### Terraform Configuration Files
```
locals {
resource_name_prefix = lower(replace(var.resource_name_prefix, " …
-
- PEG是Parsing Expression Grammar的简写,是一种解析表达式语法,类似正则表达式上下文的语言。
- https://github.com/cisen/peasy
- https://www.douban.com/group/topic/48074063/
cisen updated
5 years ago