inspirer / textmapper

Lexer and Parser generator
http://textmapper.org
MIT License
107 stars 23 forks source link

Collaborate to develop a good parser tool #68

Open mingodad opened 1 year ago

mingodad commented 1 year ago

Hello ! I just discovered your project and I'm also interested on developing a good parser tool and actually working on https://github.com/mingodad/lalr/tree/playground and I have several grammars (in different stages of completeness here https://meimporta.eu/lalr-playground/ , including a textmapper grammar that can be tested online, select Textmapper parser from the Examples dropdown and then click on the Parse button).

Let's talk about how we can cooperate to evolve our projects ?

Cheers !

mingodad commented 1 year ago

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 !

The grammars available so far (with varying state of correctness):

mingodad commented 3 days ago

I've just updated the textmapper grammar on https://mingodad.github.io/parsertl-playground/playground/ to the latest as today.