PARSERINO
Fast HTML5 parser and DOM editor in pure D, zero dependencies: CSS selectors, lazy parsing, scraping. Parses like a browser; @nogc/betterC core.
Modules 16
- parserino.arenaA bump allocator: many small allocations, freed all together.
- parserino.css.matcherMatching of CSS selectors against the DOM.
- parserino.css.selectorCSS selectors: syntax tree and parser.
- parserino.css.tokenizerCSS tokenizer (CSS Syntax Level 3), limited to what selectors need. It works at runtime and at compile time.
- parserino.domThe document tree.
- parserino.encodingEncodings other than UTF-8.
- parserino.html.decoderUTF-8 decoding of the input, as the Encoding standard (the "UTF-8 decode" of the HTML parser): invalid bytes become U+FFFD (one for each "maximal subpart", as browsers do) and a leading byte order ...
- parserino.html.entitiesNamed character references of HTML (`&`, ` `, ...). Generated by tools/gen/gen_names.d.
- parserino.html.errorsThe parse errors of the HTML parser.
- parserino.html.parserThe HTML parser: tokenizer + tree builder, for documents (also chunk by chunk) and fragments.
- parserino.html.serializerHTML serialization ("serializing HTML fragments" in the HTML spec).
- parserino.html.tokenizerHTML tokenizer (HTML Living Standard, "Tokenization").
- parserino.html.treebuilderHTML tree construction (HTML Living Standard, "Tree construction").
- parserino.namesNames of tags, attributes and namespaces.
- parserinoHTML5 parser and DOM manipulation library.
- parserino.snapshotA document tree as plain arrays, without pointers.