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

feat: parse doctype in Scanner #18

Closed
wants to merge 1 commit into from
Closed

feat: parse doctype in Scanner #18

wants to merge 1 commit into from

Conversation

ianprime0509
Copy link
Owner

Closes #9

This is not done and perhaps never will be in its current form. It is just too complex, bloats the number of states in the parser, and is tedious to write. It is also not entirely clear how to correctly model the returned tokens.

A better solution (which will be taken at some point) might be to have a separate parser just for doctype stuff which can work alongside Scanner for people who really need it.

@ianprime0509
Copy link
Owner Author

This PR unfortunately never stood any chance of being merged, and now there are too many conflicts anyways. A better approach will be considered later.

@ianprime0509 ianprime0509 deleted the feat/doctype branch June 24, 2023 05:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support DTDs
1 participant