A WebIDL Parser
Switch branches/tags
Nothing to show
Clone or download
alexcrichton Merge pull request #16 from kryptan/master
Fix strings with comments inside
Latest commit 0486da0 Nov 16, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Fix strings with comments inside Nov 16, 2018
tests refactor a ton of redundant code by using macros Jul 26, 2018
.gitignore Initial Commit Apr 22, 2018
.travis.yml Enable travis Apr 28, 2018
Cargo.toml Bump to 0.8.0 Sep 16, 2018
LICENSE.md Initial Commit Apr 22, 2018
README.md Bump version to 0.5.0 Jul 26, 2018


Weedle - A WebIDL Parser

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

Basic Usage

In Cargo.toml

weedle = "0.5.0"

Then, in src/main.rs

extern crate weedle;

fn main() {
    let parsed = weedle::parse("
        interface Window {
            readonly attribute Storage sessionStorage;
    println!("{:?}", parsed);