I am doing this right now[1].
But in a very beginning stage.
I have another project is use webidl to generate vim syntax[2] is almost complete.
So I think its possible to do this.
But the result will not have doc and url property.
Firefox nightly now have mdn doc in developer tool.
But I can't find where the data stored.
Also another issue is the result size will very large than current one.
Not sure will it impact performance.
[1]:
https://github.com/othree/webidl-to-tern-def[2]:
https://github.com/othree/webidl-to-vim-syntaxAlain Kalker於 2014年11月4日星期二 UTC+8上午5時32分38秒寫道: