Skip to content

dmngd/weedle4

This branch is 73 commits behind sagudev/weedle4:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6d51af5 · Jul 11, 2023

History

19 Commits
Jul 10, 2023
May 3, 2023
Jul 11, 2023
May 3, 2023
May 3, 2023
May 3, 2023
May 3, 2023
May 4, 2023
May 3, 2023

Repository files navigation

Weedle 4 - Furry Coala

A Web IDL parser

Crates.io version Documentation MIT License

Built with 🦀🕸 by The Rust and WebAssembly Working Group.
Forked with weedle2 patches and automated webref test to make sure that it can always read all latest web(idl) files.

About

Parses valid WebIDL definitions & produces a data structure starting from Definitions.

Usage

Cargo.toml

[dependencies]
weedle4 = "0.4.0"

src/main.rs

fn main() {
    let parsed = weedle::parse("
        interface Window {
            readonly attribute Storage sessionStorage;
        };
    ").unwrap();

    println!("{:?}", parsed);
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • WebIDL 53.5%
  • Rust 46.5%