Skip to content

sagudev/weedle4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

92 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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