darobin / webidl.js

DEPRECATED — Use https://github.com/darobin/webidl2.js instead
http://berjon.com/
26 stars 10 forks source link

Grammar extensions and housekeeping #3

Closed bpl closed 13 years ago

bpl commented 13 years ago

This set of proposed changes mainly extends the grammar so that it can deal with the JavaScript Typed Array specification. I also ran the test suite and did some housekeeping due to the test failures I got.

darobin commented 13 years ago

Thanks a lot!

I'm curious: what are you using this for?

bpl commented 13 years ago

You're welcome.

I'm planning to generate WebStorm-compatible stubs from Typed Arrays and WebGL specifications. That should remove incorrect warnings about undeclared types and properties I keep getting when I'm working on WebGL-based code. As a bonus, code completion.