4 ms·
Maybe someone could make Rhino[0] run in this, so we can run Javascript in Java in Javascript! Yo dawg! [0]: https://developer.mozilla.org/en-US/docs/Mozilla/P
by huskyr 10y ago
Maybe someone could make Rhino[0] run in this, so we can run Javascript in Java in Javascript! Yo dawg!
[0]: https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rhino https://developer.mozilla.org/en-US/docs/Mozilla/Projects/Rh...
- jvilk 10y agoActually, the master version of Doppio can run Rhino AND Nashorn! (I'm the primary author of Doppio.)
- javapoly 10y agoJavaPoly uses Doppio. As a result, you can run both Rhino and Nashorn in JavaPoly too!
- huskyr 10y agoAwesome, and can we run Doppio in Rhino run in Doppio then? Recursive Atwood's law!
- jvilk 10y agoHaha, I've actually tried to do this. The only missing link, I believe, is to add a Nashorn/Rhino backend to BrowserFS (Doppio's file system library) so that Doppio can access the filesystem that Rhino is running in to load the JDK. If that sounds like fun, I take pull requests [0]. :) [0] https://github.com/jvilk/browserfs https://github.com/jvilk/browserfs