Hey Matthias,

wow, great. Will test your fork as soon as possible. And also thx for this nice 
Generator 😊.


Cheers

Chris

Von: Matthias Bläsing
Gesendet: Samstag, 30. April 2022 22:07
An: [email protected]; [email protected]
Betreff: Re: Add mssing suggestions to javascript?

Hi all,

Am Mittwoch, dem 09.03.2022 um 19:49 +0100 schrieb Matthias Bläsing:
> 
> Am Mittwoch, dem 09.03.2022 um 09:31 +0100 schrieb Christian Lenz:
> > [Use TypeScript definition files as basis]
> 
> This sounds like a good idea. I think you don't need to look to far,
> the core libraries are deocumented in the typescript repository itself:
> 
> https://github.com/microsoft/TypeScript/tree/main/lib
> 
> the referenced attribute classlist is also present:
> 
> https://github.com/microsoft/TypeScript/blob/ea4791d4d76fea47db10ceb91960c726e71c0fd8/lib/lib.dom.d.ts#L4847-L4855
> 
> My google foo already told me, that the typescript compiler can be used
> to extract the type information and dump it into a new format. To me
> this sounds like a good approach.
> 
> The license also looks sane: ALv2 without a notice file.
> 

so I finished my prototype and did also add some more fixes around
JSDoc. It would be nice if interested parties would test this:

https://github.com/matthiasblaesing/netbeans/tree/update_js_stubs

The stub generator can be found here (subdirectory jsstub-generator):

https://github.com/matthiasblaesing/netbeans-tools/tree/jsstub-generator

This is not perfect, but from a first look the bindings look sane and
improved. From a license perspective I think this is also cleaner.

I intent to build a test version for myself and would be willing to
provide a testversion for interested users.

If you want to improve the stub generator, feel free tinker with the
code. There are some ugly compromises, so you might get it into better
shape.

Greetings

Matthias

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Reply via email to