Skip to content

refactor: Drop Beautiful Soup and use html.parser#3

Draft
SolarLiner wants to merge 5 commits into
mainfrom
feat/http.parser
Draft

refactor: Drop Beautiful Soup and use html.parser#3
SolarLiner wants to merge 5 commits into
mainfrom
feat/http.parser

Conversation

@SolarLiner
Copy link
Copy Markdown
Collaborator

Beautiful Soup does not retain source position information, which we need to display better error messages. This PR implements a custom parser and typed node structure for HTML documents that does retain this information.

Furthermore, the new structure is designed as an immutable and traversable structure, which allows for a more natural (IMHO) traversal-like algorithm when inflating documents.

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.

1 participant