rustwasm / wasm-webidl-bindings

Read, write, and manipulate the Wasm WebIDL bindings custom section
Apache License 2.0
38 stars 9 forks source link

Split the text format parser into its own crate #9

Closed fitzgen closed 5 years ago

fitzgen commented 5 years ago

lalrpop and its generated code can take a while to compile, and I'd like to add a moat between it and the rest of the project.

We should move src/text/{grammar.lalrpop, parser.rs, actions.rs} to a new crate: crates/text-parser. The crate name should be wasm-webidl-bindings-text-parser. Otherwise it should basically remain the same. We can re-export its functionality in src/text/mod.rs.

ghost commented 5 years ago

I would like to try this one.