Re: evaluating compiled clojurescript functions at the REPL

2013-10-12 Thread Dave Della Costa
Link? (2013/10/13 14:14), Benjamin Vulpes wrote: > Hey all! > > I've written a S.O. question about Emacs/ClojureScript REPL integration. > My basic question is: > > "how ams call compiled functions and execute in browser context?" > > I love working with Emacs and I also love all of the wor

evaluating compiled clojurescript functions at the REPL

2013-10-12 Thread Benjamin Vulpes
Hey all! I've written a S.O. question about Emacs/ClojureScript REPL integration. My basic question is: "how ams call compiled functions and execute in browser context?" I love working with Emacs and I also love all of the work that everyone has put into building a robust Emacs/CLJ* toolchain, a

Re: [ANN] Jig

2013-10-12 Thread Manuel Paccagnella
Looks very interesting, thanks for sharing! BTW, documentation is impressive and quite comprehensive. On a related note: I've spotted a couple of typos in your README.md so far. Do you accept pull requests for small fixes like these? Il giorno venerdì 11 ottobre 2013 18:23:41 UTC+2, Malcolm Sp

Re: [ANN] Austin — the ClojureScript browser-REPL, rebuilt stronger, faster, easier

2013-10-12 Thread Timothy Washington
Ok, figured this out. I had to add the option to pass in a *:url* to the * repl-env* function. Made a pull request here. Let me know if you'd like anything changed or cleaned up. Thanks Tim Washington Interruptsoftware.ca / Bkeeping.com On Fri, Oct 1

Re: Clojure can't import some Java classes

2013-10-12 Thread Zach Oakes
I'm just pulling LibGDX from maven and trying to call its classes via Clojure. I don't doubt that mock classes could work, but I think the effort in writing and maintaining them would be more than it's worth. On Saturday, October 12, 2013 4:25:15 PM UTC-4, Colin Fleming wrote: > > In my case I'm

Re: Clojure can't import some Java classes

2013-10-12 Thread Colin Fleming
In my case I'm AOTing, so compiling against one set of classes then running against another isn't difficult. If you're compiling from source it's tougher, but aren't you basically compiling at runtime at that point? Couldn't you work around it changing your startup order (i.e. loading LibGDX with s

[ANN] Moderm-cljs - Tutorial 21 - Learn by contributing (part 2)

2013-10-12 Thread Mimmo Cosenza
Hi all, I just published the second part of the tutorial - learn by contributing. https://github.com/magomimmo/modern-cljs/blob/master/doc/tutorial-21.md Here I started from where I leaft the previous tutorial-20 by revisiting again the Enfocus directories layout and its project.clj to make it

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-12 Thread Gary Zhao
Great. But I have one thing confusing. Auto indent uses two spaces, but tab uses four spaces. How can I make them consistent? Either 2 or 4 spaces for both. I tried some settings but didn't seem to work. Thanks. On Thursday, October 10, 2013 6:36:01 AM UTC-7, Laurent PETIT wrote: > > Hi, a new

Re: Clojure can't import some Java classes

2013-10-12 Thread Zach Oakes
Compiling against mock classes is the other solution I've tried as well. I'm not sure how the real classes would take over once the program is run, and also it's a quite laborious and brittle solution since updates to the real classes would break the mock classes. Definitely interested in ideas

Re: ANN: lein-midje-doc 0.0.9 released

2013-10-12 Thread Timothy Washington
This library looks great, and I'm eager to try it out in one of my new projects, which uses *[midje "1.5.1"]* (and my *profile.clj* is below). But, in a new project, I just ran `*lein midje-doc*`, and I'm getting a RuntimeException in one of the 3rd party libraries. I've attached a log file with th

Re: [ANN] scopes: a little library for resource scopes

2013-10-12 Thread Jozef Wagner
Is it based on http://dev.clojure.org/display/design/Resource+Scopes ? On Friday, October 11, 2013 3:54:59 PM UTC+2, Paul Stadig wrote: > > It separates the resource management from the creation and lexical binding > of resources. You can create a scope high up in the call stack, and within > th

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-12 Thread PublicFarley
Awesome work Laurent! Just awesome. @Casper Take a look at this for making leinigen projects easily importable into Eclipse: https://github.com/kumarshantanu/lein-idefiles -- -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, s

Re: [ANN] Counterclockwise - Clojure plugin for Eclipse

2013-10-12 Thread Casper Clausen
Nice work, looking forward to using this. I'm wondering though, what is the best or "official" way to import a lein project? I've never been able to figure it out, so I always do lein pom and import as maven project and then convert to leiningen project. Is there a better way? On Saturday,

Re: Clojure - Where to start?

2013-10-12 Thread shlomivaknin
Hey Jeff, On Thursday, October 10, 2013 11:41:05 PM UTC+2, Jeff Heon wrote: > > I remember reading a post with a list of open source projects with > excellent clojure code. did you mean this post http://stackoverflow.com/questions/2444893/clojure-open-source-projects ? -- -- You received

Re: Clojure can't import some Java classes

2013-10-12 Thread Colin Fleming
Yup, it's true. I suffer from this as well. When I'm compiling Cursive normal compilation fails because a bunch of the IntelliJ classes assume the IntelliJ platform is running and barf if it's not. I have an awful hack which is to run the compilation within their test framework which sets up a mock

Re: Clojure can't import some Java classes

2013-10-12 Thread Wujek Srujek
So you are saying compilation is trying to instantiate class and run static initializers? This seems very backward, are you sure? On Sat, Oct 12, 2013 at 8:30 AM, Zach Oakes wrote: > I should add, I am aware I can bring in a class dynamically with > Class/forName, and that is what I ended up do