All Projects → rustwasm → weedle

rustwasm / weedle

Licence: MIT license
A WebIDL Parser

Programming Languages

WebIDL
4 projects
rust
11053 projects

Labels

Projects that are alternatives of or similar to weedle

rust-python-parser
A Python parser written in Rust using nom
Stars: ✭ 56 (+51.35%)
Mutual labels:  nom
Nom
Rust parser combinator framework
Stars: ✭ 5,987 (+16081.08%)
Mutual labels:  nom
flavors
FLV parser in Rust with nom
Stars: ✭ 58 (+56.76%)
Mutual labels:  nom
nom-bibtex
A feature complete bibtex parser using nom
Stars: ✭ 13 (-64.86%)
Mutual labels:  nom
fitparse-rs
Rust library to parse FIT formatted files
Stars: ✭ 20 (-45.95%)
Mutual labels:  nom
elm-parser
A parser for the Elm language written in Rust using the nom library
Stars: ✭ 16 (-56.76%)
Mutual labels:  nom

Weedle

A Web IDL parser

Build Status Crates.io version Download docs.rs docs

API Docs | Chat

Built with 🦀🕸 by The Rust and WebAssembly Working Group

About

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

Usage

Cargo.toml

[dependencies]
weedle = "0.9.0"

src/main.rs

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

    println!("{:?}", parsed);
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].