seesaw
seesaw copied to clipboard
Applet support
As I sit here in my chair, approximately 20 minutes after rolling out of bed, the word 'applet' popped into my head. Could be an idea.
I've been awake for 9 hours, but this still seems like a fun idea. Adding enough type hints to avoid signing (due to reflection) might be a bit of a task.
Yeah. I've written one applet. I nearly hung myself over permission problems.
Got a start in 0d576be189569b21d3d5882f4c80c5e9383ed381. Use (defapplet) to handle some of the pain. Still have to AOT and sign the jar though. Still need to build an interesting example, but it seems to work.
I was bitten by the very same reflection <-> applet issue yesterday. So it would be definitely a cool feature to have. If you want I could offer you a hand to get rid of the reflections.
By all means, fork it and see what you can do. I kind of hate the idea of spamming up the code with type hints, but if that's what it takes ...
Oh, and there's an open issue now for reflection discussion or whatever: https://github.com/daveray/seesaw/issues/23
Still need a good example for this? If so, I'll see if I can re-cook my webrepl project using it.
It would be cool to have a real applet example. There are still several outstanding reflection issues I haven't been able to purge (stupid proxy-super), but even a signed applet with the warning would be nice.