help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Online yacc/lex grammar editor/tester


From: Hans Åberg
Subject: Re: Online yacc/lex grammar editor/tester
Date: Thu, 7 Sep 2023 17:47:21 +0200

> On 7 Sep 2023, at 15:56, Domingo Alvarez Duarte <mingodad@gmail.com> wrote:
> 
> I'm trying to build an online yacc/lex (LALR(1)) grammar editor/tester to 
> help develop/debug/document grammars the main repository is here 
> https://github.com/mingodad/parsertl-playground and the online playground 
> with several non trivial examples is here 
> https://mingodad.github.io/parsertl-playground/playground/ .
> 
> Select a grammar/example from "Examples" select box and then click "Parse" to 
> see a parser tree for the source in "Input source" editor.
> 
> It's based on https://github.com/BenHanson/gram_grep and 
> https://github.com/BenHanson/lexertl14 .
> 
> Any feedback is welcome !

There is a C++ LALR(1) grammar, see:
https://isocpp.org/wiki/faq/compiler-dependencies#yaccable-grammar





reply via email to

[Prev in Thread] Current Thread [Next in Thread]