highj / highj-js-monad

JavaScript Monad built on-top of HighJ infrastructure
0 stars 0 forks source link

Prelude of FFI functions for commonly used JavaScript libraries. #2

Open clinuxrulz opened 7 years ago

clinuxrulz commented 7 years ago

If anyone has any free time and is interested, then I'd love some help.

It just a few libraries to make the JS monad immediately useful. There is no dependencies on the libraries as code is just generated to talk to them. It is up to the end user to make sure they have the appropriate JavaScript libraries if they choose to use certain JS effects.

E.g. If the user used...

JQuery.$("div.demo").bind(x -> x.html()); // In JS: $("div.demo").html()

Then the end user would be sure they have access in JQuery in their JavaScript.

clinuxrulz commented 7 years ago

I may actually try and streamline this by making a JavaScript documentation to Java JS Monad FFI generator.

clinuxrulz commented 7 years ago

For my own reference: https://github.com/jquery/api.jquery.com/tree/master/entries