-
![image](https://user-images.githubusercontent.com/414141/114749556-c44ac880-9d72-11eb-98dd-41592f411ce6.png)
# Resource
- [ ] https://github.com/jamiebuilds/the-super-tiny-compiler
-
-
Is there any way to import one parser file's nonterminals for use in another? The `.lalrpop` file I'm writing has been getting pretty large, so I was hoping to modularize it a bit. However, I'm not su…
saghm updated
1 month ago
-
Here is the grammar which I want to use:
a_file := v_file | o_file ;
o_file := file - v_file ;
v_file := { a_directive } ;
file := { directive } ;
a_directive := v_directive | o_directive ;
o_…
-
On Agda 2.6.2, `Parsing.OperatorsExp` as reported by `-vprofile:7` takes 14 seconds on this [10k line file](https://github.com/AndrasKovacs/smalltt/blob/f9c27e825993d7e16282701d83941cf394f63725/bench/…
-
I believe that Pegmatite uses the OMeta parsing algorithm to support left recursion, but in fact it looks like some cases aren't supported, as shown in:
https://github.com/fabriquer/Pegmatite/blob/…
-
Hi all
Is there an ability to raise an exception straight from the grammar?
```
grammar =
"""
datablockheading = DATA blockframecode
DATA = "data_"
blockframecode = nonblankchar+ / RAISE…
-
Parglare is damn slow. Generating parser is also damn slow. It may be useful both from speed and debug perspective to serialize the generated parser into a python file.
-
Currently parser is only able to successfully parse terminated statements, like:
```c
const char * myarray[25];
```
But if you feed something like
```c
const char * [25]
```
or
```c
const c…
-
After mechanically extracting the `peglib/codon` grammar from `peglib.h` I noticed 2 places that can be improved see aldo this issue https://github.com/yhirose/cpp-peglib/issues/275#issue-1720813202 .…