News for hackers. Stuff that matters.
Re:The entire win32 API in JavaScript by 4ad on Sunday November 18, 2012 @05:56AM (#4800372)
I'm more interested in how this was automatically generated rather than in the end product itself.
Re:The entire win32 API in JavaScript by olalonde on Sunday November 18, 2012 @07:33AM (#4800464)
Possibly with https://github.com/tjfontaine/node-libclang. I'm actually working on a node module that will automatically parse header files using libclang and make native dynamic libraries available with no configuration required on the end of the developer. It will eventually be part of https://github.com/olalonde/better-require if you're interested.
Re:The entire win32 API in JavaScript by xdenser on Sunday November 18, 2012 @09:31AM (#4800625)
How about pure JS PEG generated parser instead of clang? https://github.com/xdenser/node-ffiCparser though that is not finished yet
Re:The entire win32 API in JavaScript by olalonde on Sunday November 18, 2012 @07:35PM (#4802262)
An didn't know about this, looks great. Would you be interested in helping me write an add-on for better-require? Anyways, I'll try it out and see how it works out.
Re:The entire win32 API in JavaScript by Benvie on Sunday November 18, 2012 @07:06PM (#4802184)
The actual code generator I haven't published because it was kind of a pile of crap. I created bindings to libclang as well here but haven't finished rewriting a more generalized code generator from it https://github.com/Benvie/node-clang/blob/master/bindings.js