Domingo Alvarez Duarte

Results 348 issues of Domingo Alvarez Duarte

**Obs: Updated with the grammar on 2022-10-09** Using this fork of bison (https://github.com/mingodad/lalr-parser-test) to generate an `EBNF` understood by https://www.bottlecaps.de/rr/ui and manually adding the tokens from `lexer.lpp` we can have...

long term
leads question

Trying to create an `LL(1)` parser with https://mingodad.github.io/CocoR-Typescript (and family) I found that this definition is problematic: ``` sized_type_literal [iuf][1-9][0-9]* ``` It's ambiguous with this: ``` identifier [A-Za-z_][A-Za-z0-9_]* ``` So...

Hello ! I'm testing this tool with a subset of `sqlite` expressions and it hits `maximum recursion` too often could someone give some help to improve it ? I noticed...

I'm trying to get a railroad diagram using https://www.bottlecaps.de/rr/ui and converting manually the grammar at https://github.com/dmbaturin/bnfgen/blob/master/src/lib/bnf_parser.mly and the lexer at https://github.com/dmbaturin/bnfgen/blob/master/src/lib/bnf_lexer.mll and got so far the one bellow that can...

Add two new options to output the naked grammar and an EBNF to view railroad diagram at https://www.bottlecaps.de/rr/ui Copy and paste the EBNF bellow on https://www.bottlecaps.de/rr/ui tab Edit Grammar then...

Asking this modified byacc (https://github.com/mingodad/lalr-parser-test/tree/main/byacc) to output an EBNF grammar that can be used on https://www.bottlecaps.de/rr/ui to get a railroad diagram (https://en.wikipedia.org/wiki/Syntax_diagram). Copy and paste the EBNF shown bellow on...

Adding `-g` to CFLAGS, building kinx and running it under valgrind we get this output: ``` valgrind --track-origins=yes ../kinx fib.kx ==2199== Memcheck, a memory error detector ==2199== Copyright (C) 2002-2017,...

bug

Adding `-Wall -Wextra` with `gcc` give a few warnings and some of then I fixed as shown bellow: ``` diff --git a/src/yaep.c b/src/yaep.c index 3719017..b68cce8 100644 --- a/src/yaep.c +++ b/src/yaep.c...

I understand that this is for mirror the Piumatra original work but for visibility to other users that could be interested on improving peg/leg I'm adding this pull request, do...