Skip to content

About

No description, website, or topics provided.

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Repository files navigation

oxc-htmlish-parser

oxc-htmlish-parser parses HTML and HTML-based template languages (Vue, Angular) into a span-faithful typed AST, designed for building formatters.

How each dialect is read, and why, is in AGENTS.md. Deliberate differences from each dialect's oracle are listed in DIVERGENCES.md.

Example

use oxc_htmlish_parser::{Allocator, Dialect, Parser};

let allocator = Allocator::default();
let root = Parser::new(&allocator, "<p>Hello</p>\n", Dialect::Html).parse().unwrap();
println!("{root:#?}");

License

MIT

Our sponsors

About

No description, website, or topics provided.

Resources

Security policy

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages