lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
anmonteiro 2017-07-14T06:11:19.485295Z

next release will allow this: https://twitter.com/anmonteiro90/status/885741059065528321

2šŸ‘21šŸ˜®
souenzzo 2017-07-14T10:48:20.432110Z

With this feature, should be much easier to persuade js developers

anmonteiro 2017-07-14T06:11:22.485923Z

Iā€™m so excited

anmonteiro 2017-07-14T06:11:27.486889Z

šŸ™ƒ

2šŸ¦œ
pesterhazy 2017-07-14T07:14:30.348259Z

Sweet!

richiardiandrea 2017-07-14T08:10:04.320572Z

This at some point is something I want to do, hopefully soon šŸ˜„

souenzzo 2017-07-14T10:48:20.432110Z

With this feature, should be much easier to persuade js developers

dominicm 2017-07-14T15:59:01.860995Z

> CheerpJ also provides a choice of filesystem access methods. This includes a read-only filesystem based on HTTP, a local read-write filesystem based on indexDB which is persistent across sessions, and a facility to access JS strings as files, useful to pass input data to target converted Java programs.

dominicm 2017-07-14T15:59:18.871347Z

This would need extending

dominicm 2017-07-14T16:04:31.060171Z

http://leaningtech.com/cheerpj/ this is possibly the place to ask

dominicm 2017-07-14T16:11:17.285537Z

Totally off topic: could clojure run in the browser with this?

richiardiandrea 2017-07-14T16:19:27.551921Z

eh that would be a very interesting test to do šŸ˜‰

borkdude 2017-07-14T17:37:27.076687Z

Has someone got an example how to execute a shell command from lumo with capturing output?

borkdude 2017-07-14T17:37:50.089555Z

I found this, but I wonder if there is a more convenient way in lumo: https://nodejs.org/api/child_process.html#child_process_child_process_spawn_command_args_options

borkdude 2017-07-14T17:42:06.230188Z

exec, spawn: https://www.hacksparrow.com/difference-between-spawn-and-exec-of-node-js-child_process.html - I want exec

dominicm 2017-07-14T17:48:15.432449Z

We do this in mach

metametadata 2017-07-14T18:53:18.563257Z

@borkdude here's an example of how I use spawn (async and sync cases): https://gist.github.com/metametadata/0ddcf40d698a27851d29592011e89f06

borkdude 2017-07-14T20:14:28.925029Z

@metametadata @dominicm thanks

stbgz 2017-07-14T21:54:21.328465Z

I was just thinking of that

stbgz 2017-07-14T21:55:43.354864Z

@borkdude I also do something like that here https://github.com/eginez/calvin/blob/master/src/main/clojure/eginez/calvin/core.cljs#L178

stbgz 2017-07-14T21:56:08.362780Z

Hopefully it helps