Hacker News new | past | comments | ask | show | jobs | submit login

Hey guys, @boucher, @rentzsch and I are happy to get this out there, we are around if you have any questions!



Beautiful work! Reminds me of a very polished Jupyter.

Any plans to support compile-to-js languages? Coffeescript, etc.


Possibly, depending on how much demand we see. You can obviously kind of hackily use coffeescript right now by just requiring the package, but that's not a real solution.


I'd love CoffeeScript support.

Additionally... Tonic is comparible to CodePen in terms of testing and thus gave me the idea;

Perhaps you could also include other languages into your platform. Such as a Stylus REPL, SASS, SCSS etc. all of which, like CoffeeScript, are just JS modules on npm.

With compilers like Stylus and SCSS you would probably default the return value to be the compiled CSS, and with Coffee you'd need a toggle button to show what the compiled JS looks like, though not 100% necessary.

With that said, if there was just a way to set up a "build" script for a REPL to set up the environment to achieve the same result. As in, you require('stylus') then have some global variable stream/buffer, tonic.output, for which you could inject into the module of your choice to generate output, and then save it via tonic.buffer.write() or something. It could then be ridiculously flexible in terms of testing out finicky new languages/compilers.


This is amazing, good work!

Are you guys going to open source it or will this be a paid service?


Thanks so much

There's certainly a ton of stuff we'd love to open source, but we've been focused on getting it out the door. This product is also interesting in that the ops is as challenging as the code itself, so there may be some interesting opportunities to offer paid services later, if people start wanting to do more interesting things with it. We're really just kind of hoping people show us how they can use it.


I was impressed by the Time Travel.

If I delete a file through there, and "go back in time" would the files would still be there?


Yup. The time travel stuff is somewhat transparent and hard to talk about. If you think of the document as a .js file, than it is pretty easy to reason about what will happen. Things are just executed in order. The magic is that we don't have to re-execute a bunch of stuff every time just to get to your actual change.


> The time travel stuff is somewhat transparent and hard to talk about.

Wouldn't that mean it's opaque, since we can't see see into it?

PS. That's picky. This is a rad project and I love the time travel & the 'requiring packages automatically installing them' feature too.


Do you override 'require('fs')' or do you do some magic at the OS level ?


We use docker pretty extensively, and so between each code cell we can evaluate the layered filesystem docker provides for changes and save them.


Good, thanks.


This is awesome. Any plans to support other JS based languages (like Clojure via. planck)?


See the other answer in this thread :)


awesome work! would be a great tool in learning and teaching node :)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: