Fork me on GitHub
#dirac
<
2016-05-05
>
frank00:05:17

really looking forward to that!

danielcompton10:05:18

@darwin: what are your plans now that you’ve handed TotalFinder and TotalSpaces over?

darwin10:05:18

@danielcompton: I have a list of product ideas I would like to build eventually simple_smile But haven’t decided what to do next (yet). Wanted to take some “hammock” time, but started building CLJS tools instead 😉

darwin10:05:01

… actually I have some plans with CLJS, my future project(s) will be likely built with it

danielcompton10:05:48

Is it possible to evaluate locals at a breakpoint with Dirac?

darwin10:05:12

yes, I consider this the main Dirac feature

darwin10:05:21

you have to prefix them with js/

darwin10:05:47

the REPL is not yet aware of available locals

darwin10:05:39

this will be harder problem to solve - I can get list of js locals, but I would need to demunge their names and pass them into REPL environment somehow to tell CLSJ compiler to threat them as CLJS symbols

danielcompton10:05:43

ah that’s what I was missing

danielcompton10:05:57

I do remember hearing that now

darwin10:05:23

also if you happen to see local names with subscripts, you have to hover over them with mouse to see the real js name

darwin10:05:39

in the future there will be code-completion or something helping you with that

darwin10:05:35

I will probably reuse DevTool’s own code completion subsystem on top of parinfer’s editing, anytime you enter js/ I would enable that

superstructor23:05:06

@darwin: congrats, this is going to be awesome! I’d like to use it with https://github.com/adzerk-oss/boot-cljs-repl, I think I’ll need to fork boot-cljs-repl to replace com.cemerick/piggieback ns with dirac.nrepl/middleware ?

darwin23:05:37

it should still work with dirac 0.3.0, I didn’t introduce breaking changes AFAIK

darwin23:05:15

later you can fork and update the middleware to dirac.nrepl/middleware (for future)

superstructor23:05:40

nice, thanks! so if I understand correctly I’d remove adzerk-oss/boot-cljs-repl and replace it with usage of jupl/boot-cljs-devtools ?

darwin23:05:11

yes, but I’m not a boot user myself

jupl23:05:44

@superstructor: The README should have instructions on installation and usage.

jupl23:05:04

I can answer any questions if the README does not address them.

superstructor23:05:54

yep have read the readme, looking at the README there is no equivalent of (start-repl) in a boot repl -c session ?

jupl23:05:53

I’ll take a look at the update to dirac. So far you would only use the repl in the browser.

jupl23:05:30

Looks like it got recently updated.

superstructor23:05:56

Thats sufficient, I guess with proper Cursive/Chrome REPL I won’t need a boot repl anymore simple_smile

superstructor23:05:56

Ok I’ll give implementing this a try now and let you all know how it goes. Amazing work @darwin @jupl, this is just what I was waiting for in my CLJS workflow!

darwin23:05:18

but I think you should keep it there just for completeness, I tend to jump into plain lein repl just for testing sometimes

darwin23:05:00

@superstructor: thanks for testing, expect rough edges, I haven’t used it myself much, just for tests