You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What we'd like:parsec.js.parse() returning the ESTree as Python objects, parsec.js.page_state(html) for M12, and parsec.xml.parse() with the node API HTML has, on free-threaded Python too.
The JavaScript half is in #219: parsec_html.js.parse() and parsec_html.js.page_state(), which takes one script's text, with HTMLParser(html).page_state() for a whole page, tested on free-threaded 3.14t too. parsec.xml.parse() waits for the XML parser, so I'll leave this open for it.
Activity
jamesconwaydev commentedon Nov 22, 2026
The JavaScript half is in #219:
parsec_html.js.parse()andparsec_html.js.page_state(), which takes one script's text, withHTMLParser(html).page_state()for a whole page, tested on free-threaded 3.14t too.parsec.xml.parse()waits for the XML parser, so I'll leave this open for it.