Fork me on GitHub
#boot
<
2015-08-01
>
juhoteperi08:08:53

@martinklepsch: Yes cljs compiler takes care of dependency tracking. But it could be it doesn't use that for optimizations. It doesn't need to analyze or compile anything but needs to do the concat (and few other things I think).

juhoteperi08:08:10

Or it could be because we write the main file each time.

juhoteperi08:08:05

:compiler-options {:verbose true} should display what namespaces cljs is compiling.

martinklepsch09:08:06

The main file for that build is untouched

juhoteperi09:08:20

Yes, doesn't change but how about mod time.

juhoteperi09:08:36

And I now remember that atleast advanced complication is no-op if files aren't changed.

juhoteperi09:08:46

I don't see why simple wouldn't work similarly.

martinklepsch10:08:42

Adding :require adzerk.boot-cljs-repl to app.cljs.edn...
Adding :require adzerk.boot-reload to app.cljs.edn...
Compiling electron.js...
Compiling /Users/martin/.boot/cache/tmp/Users/martin/code/electron-cljs/1qlu/-8os7bj/boot/cljs/electron.cljs
Applying optimizations :whitespace to 11 sources
Compiling app.js...
Elapsed time: 9.079 sec

martinklepsch10:08:03

Will try with advanced as well — EDIT: same thing.

juhoteperi13:08:47

@martinklepsch: Check without boot-cljs

martinklepsch15:08:13

@juhoteperi: did that as well. same thing.

micha15:08:52

anyone know of an instaparse example that does recursion on indentation level, like haml or python?

micha15:08:47

i feel like my mind is ready to be blown

jballanc15:08:30

@micha: there’s an ANTLR grammar for Python 2.5 - http://www.antlr3.org/grammar/list

jballanc15:08:03

I’ve been meaning to try ANTLR from Clojure, just haven’t gotten around to it, but here’s a decent introduction: http://briancarper.net/blog/554/antlr-via-clojure

micha15:08:26

awesome, thanks jballanc!

micha15:08:37

yeah they generate tokens for INDENT and DEDENT