Live data from Hacker News

Mancy: JavaScript REPL

mancy-re.pl

1–10 of 25 posts

Re: Mancy: JavaScript REPL

#2
To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications?

(My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

Re: Mancy: JavaScript REPL

#3
post #2

To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications? (My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

That would be great.

Re: Mancy: JavaScript REPL

#4
post #2

To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications? (My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

Why do you need to prevent 40MB downloads?

Re: Mancy: JavaScript REPL

#5
post #2

To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications? (My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

I'll look into that :-) Version 2 will be released in three days(Nov 2).

Feature list : https://github.com/princejwesley/Mancy/wiki/Features-&-Roadm...

Re: Mancy: JavaScript REPL

#6
post #4
post #2

To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications? (My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

Why do you need to prevent 40MB downloads?

If every package was 40 MB on my computer, my distribution would be 30 GB.

More importantly, these 40 MB of code and resources expand to about 400 MB in memory when the application is running, but a global library wouldn't fix that.

Re: Mancy: JavaScript REPL

#7
post #2

To prevent 40MB downloads for a REPL, is there a library version of Electron that can be installed globally, so that small scripts can use it to produce full applications? (My expected response is that Electron and Node are both moving fast enough so that multiple versions may be incompatible. Global libraries tend to work for stable software, so it may be possible in the future for Electron.)

I'll look into that :-) Version 2 will be released in three days(Nov 2). Feature list : https://github.com/princejwesley/Mancy/wiki/Features-&-Roadm...

Would

    npm install -g electron-prebuilt
do the trick for users, while they use a smaller version of your release without Electron included?

Re: Mancy: JavaScript REPL

#8
post #6
post #4

Earlier quoted context omitted.

Why do you need to prevent 40MB downloads?

If every package was 40 MB on my computer, my distribution would be 30 GB. More importantly, these 40 MB of code and resources expand to about 400 MB in memory when the application is running, but a global library wouldn't fix that.

400MB of RAM for a REPL!? That's absurdly high.

Re: Mancy: JavaScript REPL

#9
Well, rather than commenting on download size I'll talk about the program.

This looks really awesome! I've been wanting a nice js repl for a while and this one definitely has a lot of the qualities I was looking for.

Auto complete is very nice. Color syntax looks great. The biggest thing I would like to see is to persist history. I'd love to up arrow through previous sessions.

Overall nicely done!

Re: Mancy: JavaScript REPL

#10
I was just looking for something like this. How do I load external node modules into the repl? I tried "File->Add module path" but it didn't seem to work for me. Basically, having done an npm install of lodash somewhere, I want to do

  var _ = require('lodash');
in the repl.
Post reply on HN