stefanhaustein / html5index

HTML 5 Javascript API index generator
html5index.org
Apache License 2.0
36 stars 11 forks source link

About the JSon schema #3

Open ghost opened 7 years ago

ghost commented 7 years ago

Hello there. My name is Ivano Arrighetta and I'm Italian. I tried to get in touch with you with G+, but in case it won't work, here's my questions: 1) Will you also add CSS3? (I mean everything: selectors, functions, entities and properties) 2) I would like a visual JavaScript programming editor which is browser based, generates and read JavaScript code and be able to edit forms. The editor should use a UML Class Diagram style for defining objects and a FlowChart style for defining methods/functions. And here's where the JSon schema comes in: I would need a list of all the callable JavaScript functions to be added to the FlowChart editor, and that schema could be really useful. For each function return's type there will be a pin on the left, and for each parameter accepted, one on the top. Variables are represented as boxes, as constants, and connected through wires. The execution flow is given by wires. The only very hard thing will be enforcing the right type of input/output per function.

Are you interested in this project? It will be OpenSource.

Thanks in advance for either.

Bye, Ivano.

ghost commented 7 years ago

P.S.: And for external JavaScript files (eg: jQuery), the parser should collect classes/methods and functions and display them as diagrams, then made them usable. (this obviously means classes can be instantiated and functions/methods can be called inside flowcharts)

ghost commented 7 years ago

And finally, will you make something similar to html5index.org for CSS3 and HTML5?

stefanhaustein commented 7 years ago

Hi, I don't plan to cover anything that's not a Javascript API (that said, the Javascript API for CSS selectors should be covered).

Your project sounds interesting but like a lot of work. I am mainly focusing on some non-JS stuff currently. The extracted json is available at http://html5index.org/json/HTML5.json. I think I heard that GWT / J2cl is using a Chrome feature to get hold of the IDL for the supported JS APIs, but I am not aware of the details. Good luck with your project!