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

proposal: add a parseutils sub-package under x/net/html #16419

Open
srinathh opened this issue Jul 19, 2016 · 2 comments
Open

proposal: add a parseutils sub-package under x/net/html #16419

srinathh opened this issue Jul 19, 2016 · 2 comments

Comments

@srinathh
Copy link
Contributor

When using x/net/html to parse a HTML Spec to generate Go code in the colornames package, we wrote several useful and fairly generalised functions to interact with HTML parse trees such as a generalised node matching function type, match function generators for nodes by atom type & attributes and functions to recursively search and find matching nodes in the parse tree.

I have since then found these functions very useful in several other projects when using the experimental HTML parser. Therefore I was wondering if there is merit in providing these types of functions as a parseutils sub-package in the experimental repo. Happy to work on it.

@adg
Copy link
Contributor

adg commented Oct 24, 2016

It seems this was declined in error. But this issue is blocked on the greater issue #17244

@rsc
Copy link
Contributor

rsc commented Dec 19, 2016

On hold for #17244.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants