lumo

:lumo: Standalone ClojureScript environment. Currently at version 1.9.0
2017-06-21T13:23:53.305156Z

using node's net works, I get data printed to stdout from lumo trough the tcp pipe. But I'm haveing diffuculty executeing code that I send via socket.write. As if there's no execute mechanism...

2017-06-21T13:26:38.366964Z

ahh! bingo, delimit with \n was what I was looking for, nice nice nice nice

๐Ÿ‘ 1
2017-06-21T14:33:04.069635Z

@anmonteiro any plan on cutting new release?

anmonteiro 2017-06-21T15:05:11.977987Z

@honzabrecka hrm I wanted to wait for the next CLJS release but happy to cut a release if you deem necessary

2017-06-21T18:33:07.253339Z

with lumo --help I see -K, --auto-cache Create and use .planck_cache should be .lumo_cache?

anmonteiro 2017-06-21T18:33:15.256450Z

๐Ÿ˜„

anmonteiro 2017-06-21T18:33:17.257470Z

PR welcome

anmonteiro 2017-06-21T18:33:27.261942Z

nice catch

2017-06-21T18:33:48.270462Z

sooner or later my beer eyes would spot it

richiardiandrea 2017-06-21T18:46:18.573450Z

lol nice catch ๐Ÿ˜„

2017-06-21T19:07:48.098250Z

the topic of cutting a new release, I wouldn't protest to that. I tried running lumo on older versions, before the static linkings. Would save me 60mb on my repository not including the binary. But I can wait until next week if cljs will be released.

2017-06-21T20:26:52.875458Z

I can wait too :simple_smile:

moxaj 2017-06-21T20:40:29.184684Z

@anmonteiro can't build master right now, is that expected?

anmonteiro 2017-06-21T20:40:52.193189Z

not expected, what error are you getting?

anmonteiro 2017-06-21T20:40:58.195351Z

CI is passing

moxaj 2017-06-21T20:41:43.211466Z

...
Sifting output files...
Sifting output files...
Sifting output files...
Sifting output files...
Writing target dir(s)...
<...>\lumo\scripts\build.js:83
  );
  ^
SyntaxError: Unexpected token )
...

anmonteiro 2017-06-21T20:42:33.230333Z

use Node 8

anmonteiro 2017-06-21T20:43:01.240337Z

Node 7 canโ€™t parse trailing commas at the end of function calls

moxaj 2017-06-21T20:53:06.462035Z

@anmonteiro one down, two more popped up, build failed at second one:

Sifting output files...
Writing target dir(s)...
Building production bundle...
Error: Unexpected key 'pureExternalModules' found, expected one of: acorn, amd, banner, cache, context, dest, entry, exports, external, footer, format, globals, indent, interop, intro, legacy, moduleContext, moduleName, noConflict, onwarn, outro, paths, plugins, preferConst, sourceMap, sourceMapFile, targets, treeshake, useStrict, watch
----> bundle target/bundle.min.js
----> executing browserify via API
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: Cannot find module 'e:\Workspace\Clojure\lumo\target\bundle.min.js' from 'e:\Workspace\Clojure\lumo'

anmonteiro 2017-06-21T20:53:44.475644Z

@moxaj run yarn install

moxaj 2017-06-21T21:00:17.623651Z

@anmonteiro seems to be working now! Should this be mentioned in the readme? Or was this some special case?

anmonteiro 2017-06-21T21:00:28.628539Z

I upgraded stuff recently

anmonteiro 2017-06-21T21:00:43.634024Z

@moxaj youโ€™re welcome to add the Node 8 requirement to the readme

moxaj 2017-06-21T22:54:35.519103Z

I think this is the approach you hinted at

moxaj 2017-06-21T22:54:37.519571Z

works in the repl

anmonteiro 2017-06-21T22:57:19.554348Z

@moxaj looking good!

moxaj 2017-06-21T22:58:07.564184Z

i'll do some more testing tomorrow and create the pr

anmonteiro 2017-06-21T22:58:15.565876Z

sounds great