packcc icon indicating copy to clipboard operation
packcc copied to clipboard

Generating a parser from an incomplete grammar denition

Open masatake opened this issue 4 years ago • 5 comments

I found interesting papers related to packcc.

How do you think? It looks quite useful for ctags users.

masatake avatar Apr 05 '21 07:04 masatake

Thank you for the valuable information.

It looks quite useful for ctags users.

Yes, I think so, too.

I understand what they want to do, but the algorithm is difficult for me to understand... Anyway, if this island parsing is to be realized, it would be better to make it independently as a translator that translates a grammar written in their extended PEG to that in the standard PEG.

arithy avatar Apr 07 '21 16:04 arithy

the algorithm is difficult for me to understand...

Wow, I wonder who can implement the algorithm even if you don't understand!

masatake avatar Apr 07 '21 22:04 masatake

You overrate me :-) I might challenge it when I have time.

arithy avatar Apr 08 '21 08:04 arithy

https://github.com/csg-tokyo/pegisland

This one is implemented by the author of the paper. The software was written in TypeScript.

masatake avatar Apr 05 '24 08:04 masatake

Thank you for the helpful information! I do remember the request you have likely with a passion, but sorry, I still can't do it because of many things I have to do and I'm attracted.

arithy avatar Apr 14 '24 04:04 arithy