weedle
weedle copied to clipboard
A WebIDL Parser
I need the changes from #52
Hi . I've added a new rust project and used in [test](https://github.com/rustwasm/weedle/blob/master/tests/webidl.rs) directory and the code looks like this (webgpu webidl): ``` use std::fs; use std::io::Read; fn read_file(path: &str) ->...
Hi, I've been working on rust packaging in Debian and have noticed that the latest version of this crate depends on an older version of nom. While we do have...
### Describe the Bug The parsing of [WebGLContextEvent.webidl](https://github.com/servo/servo/blob/master/components/script/dom/webidls/WebGLContextEvent.webidl): ``` * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy...
Fixes #38 - Unable to parse extended attribute with quoted tuple of values This may only be a chrome IDL issue since the official WebIDL grammar (https://heycam.github.io/webidl/#es-extended-attributes) only seems to...
### Describe the Bug Weedle seems to be unable to parse extended attributes that contain a tuple of quoted values. ### Steps to Reproduce For example, this parses correctly: ```rust...
### Motivation Right now, `weedle` has no way to indicate/control what version of the spec is being read. This can lead to code that is reliant on *older* features of...