plasma-umass / doppio

Breaks the browser language barrier (includes a plugin-free JVM).
http://plasma-umass.github.io/doppio-demo
MIT License
2.16k stars 175 forks source link

Tight coupling with demo configuration #206

Closed vincentwoo closed 11 years ago

vincentwoo commented 11 years ago

I'm trying to build a simple app on top of Doppio that allows a user to execute and run exactly one .java file of their choosing, in the browser. Right now, some of the stuff compiled directly into compressed.js for the browser contains very tight integration with the doppio demo page DOM, like #editor and so forth.

Could we have a more pared-down browser make target? One that doesn't necessarily require as much understanding of the doppio internal file system by the integrator, and perhaps doesn't come bundled with the demo classes as well?

jvilk commented 11 years ago

That's a good idea; create a compressed.js (or doppio.js) that contains the core Doppio logic, and then have the frontend be a client to Doppio.

We've been meaning to make this change at some point, but never had any impetus to.

As for the filesystem, I plan to have its configuration specified by the Doppio client rather than embedded deep within the filesystem logic once I address #140. It'll be a cleaner filesystem, with simple Unix-style mounting rather than the weird composite setup we have now.

vincentwoo commented 11 years ago

Cool, I look forward to it. Thanks for a very promising project.

perimosocordiae commented 11 years ago

As of #219, we now have a make library target, which bundles core Doppio.

Also, the replacement for Doppio's pseudo-filesystem is nearing completion: https://github.com/jvilk/BrowserFS

vincentwoo commented 11 years ago

My hunger grows.

On Thu, May 23, 2013 at 10:56 PM, CJ Carey notifications@github.com wrote:

As of #219 https://github.com/int3/doppio/issues/219, we now have a make library target, which bundles core Doppio.

Also, the replacement for Doppio's pseudo-filesystem is nearing completion: https://github.com/jvilk/BrowserFS

— Reply to this email directly or view it on GitHubhttps://github.com/int3/doppio/issues/206#issuecomment-18387842 .

perimosocordiae commented 11 years ago

I just created a new repo for the demo: doppio-demo. It's currently non-functional, but it's a start. On the Doppio side of things, we need a way to build a standalone doppio.js file. The current make library target still bundles in a lot of the frontend.

perimosocordiae commented 11 years ago

doppio-demo is now working! It's essentially a clone of the current Doppio browser frontend at the moment, but it should be a useful starting point for people who want to use Doppio as a library.