Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generating a parser from an incomplete grammar denition #32

Open
masatake opened this issue Apr 5, 2021 · 5 comments
Open

Generating a parser from an incomplete grammar denition #32

masatake opened this issue Apr 5, 2021 · 5 comments
Labels
enhancement New feature or request

Comments

@masatake
Copy link
Contributor

masatake commented Apr 5, 2021

I found interesting papers related to packcc.

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

@arithy
Copy link
Owner

arithy commented Apr 7, 2021

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.

@masatake
Copy link
Contributor Author

masatake commented Apr 7, 2021

the algorithm is difficult for me to understand...

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

@arithy
Copy link
Owner

arithy commented Apr 8, 2021

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

@arithy arithy added the enhancement New feature or request label Apr 8, 2021
@masatake
Copy link
Contributor Author

masatake commented Apr 5, 2024

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

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

@arithy
Copy link
Owner

arithy commented Apr 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants