The labrepl project (http://github.com/relevance/labrepl) is a tutorial environment for learning Clojure. It is open source under the same license as Clojure. Whether you are learning Clojure on your own, or teaching or learning in a classroom environment, I want labrepl to be useful to you.
Features:
* A compojure-based application that delivers step-by-step instructions for writing Clojure code * lab instructions, solutions, and tests (currently enough for 3-4 days of instructor-led training, YMMV) * IDE integration (ish, see below)
Help wanted:
As the creator of labrepl, I intend to keep it up to date. I will be adding new labs, adding new features, and making sure that the labs all work with whatever new hotness appears in the Clojure language. But I need your help. Specifically, I would like volunteers to sign up for the following tasks:
(1) NetBeans integration: Test the instructions in the README and make sure that they work, and show off NetBeans/Enclojure in its best light. Bonus credit for writing a lab specifically on using Enclojure. (2) CounterClockwise integration: Ditto above but for Eclipse/ Counterclockwise. (3) IDEA integration: Ditto but for IDEA/La Clojure. (4) Maven integration. The instruction use leiningen and project.clj, but the maven pom.xml is checked in. For Java folks, it might be easier to have instructions that just use maven and skip leiningen. (5) Out-of-box experience audit. Is the leiningen-based setup easy enough? If not, please make something simpler (maybe shell scripts that pull the libs from a download site?) (6) Better windows instructions/integration.
First off, great work on labrepl! I told people about it last night at our functional programming user group and they seemed to like the concept a lot :-)
On Tue, Mar 23, 2010 at 3:13 PM, Stuart Halloway
<stuart.hallo...@gmail.com> wrote: > (5) Out-of-box experience audit. Is the leiningen-based setup easy enough?
IMHO it's perfect since it's simple, well documented and also introduces new Clojurians to Leiningen right away.
Tonight I'll hopefully have some time to go through the labs and fix some more minor formatting issues and typos :-)
> The labrepl project (http://github.com/relevance/labrepl) is a > tutorial environment for learning Clojure. It is open source under > the same license as Clojure. Whether you are learning Clojure on > your own, or teaching or learning in a classroom environment, I want > labrepl to be useful to you.
> Features:
> * A compojure-based application that delivers step-by-step > instructions for writing Clojure code > * lab instructions, solutions, and tests (currently enough for 3-4 > days of instructor-led training, YMMV) > * IDE integration (ish, see below)
> Help wanted:
> As the creator of labrepl, I intend to keep it up to date. I will be > adding new labs, adding new features, and making sure that the labs > all work with whatever new hotness appears in the Clojure language. > But I need your help. Specifically, I would like volunteers to sign > up for the following tasks:
> (1) NetBeans integration: Test the instructions in the README and > make sure that they work, and show off NetBeans/Enclojure in its > best light. Bonus credit for writing a lab specifically on using > Enclojure.
I don't see any instructions for Netbeans+ Enclojure
> (2) CounterClockwise integration: Ditto above but for Eclipse/ > Counterclockwise. > (3) IDEA integration: Ditto but for IDEA/La Clojure. > (4) Maven integration. The instruction use leiningen and > project.clj, but the maven pom.xml is checked in. For Java folks, it > might be easier to have instructions that just use maven and skip > leiningen.
> On Mar 23, 2010, at 10:13 AM, Stuart Halloway wrote:
>> The labrepl project (http://github.com/relevance/labrepl) is a >> tutorial environment for learning Clojure. It is open source under >> the same license as Clojure. Whether you are learning Clojure on >> your own, or teaching or learning in a classroom environment, I >> want labrepl to be useful to you.
>> Features:
>> * A compojure-based application that delivers step-by-step >> instructions for writing Clojure code >> * lab instructions, solutions, and tests (currently enough for 3-4 >> days of instructor-led training, YMMV) >> * IDE integration (ish, see below)
>> Help wanted:
>> As the creator of labrepl, I intend to keep it up to date. I will >> be adding new labs, adding new features, and making sure that the >> labs all work with whatever new hotness appears in the Clojure >> language. But I need your help. Specifically, I would like >> volunteers to sign up for the following tasks:
>> (1) NetBeans integration: Test the instructions in the README and >> make sure that they work, and show off NetBeans/Enclojure in its >> best light. Bonus credit for writing a lab specifically on using >> Enclojure.
> I don't see any instructions for Netbeans+ Enclojure
>> (2) CounterClockwise integration: Ditto above but for Eclipse/ >> Counterclockwise. >> (3) IDEA integration: Ditto but for IDEA/La Clojure. >> (4) Maven integration. The instruction use leiningen and >> project.clj, but the maven pom.xml is checked in. For Java folks, >> it might be easier to have instructions that just use maven and >> skip leiningen.
This is awesome, Stuart. With the live web server, a great addition would be if the embedded code snippets would be interactively runnable and tweakable right there in the web page. I'll see about hacking that in myself.
<stuart.hallo...@gmail.com> wrote: > The labrepl project (http://github.com/relevance/labrepl) is a tutorial > environment for learning Clojure. It is open source under the same license > as Clojure. Whether you are learning Clojure on your own, or teaching or > learning in a classroom environment, I want labrepl to be useful to you.
> Features:
> * A compojure-based application that delivers step-by-step instructions for > writing Clojure code > * lab instructions, solutions, and tests (currently enough for 3-4 days of > instructor-led training, YMMV) > * IDE integration (ish, see below)
> Help wanted:
> As the creator of labrepl, I intend to keep it up to date. I will be adding > new labs, adding new features, and making sure that the labs all work with > whatever new hotness appears in the Clojure language. But I need your help. > Specifically, I would like volunteers to sign up for the following tasks:
> (1) NetBeans integration: Test the instructions in the README and make sure > that they work, and show off NetBeans/Enclojure in its best light. Bonus > credit for writing a lab specifically on using Enclojure. > (2) CounterClockwise integration: Ditto above but for > Eclipse/Counterclockwise. > (3) IDEA integration: Ditto but for IDEA/La Clojure. > (4) Maven integration. The instruction use leiningen and project.clj, but > the maven pom.xml is checked in. For Java folks, it might be easier to have > instructions that just use maven and skip leiningen. > (5) Out-of-box experience audit. Is the leiningen-based setup easy enough? > If not, please make something simpler (maybe shell scripts that pull the > libs from a download site?) > (6) Better windows instructions/integration.
> Let's make getting started with Clojure easier!
> Stu
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to > clojure+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject.
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient > with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure > +unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject.
On 23 March 2010 14:13, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> The labrepl project (http://github.com/relevance/labrepl) is a tutorial > environment for learning Clojure. It is open source under the same license > as Clojure. Whether you are learning Clojure on your own, or teaching or > learning in a classroom environment, I want labrepl to be useful to you.
Hi Stuart,
I saw your github repo for this the other day and was intrigued after you mentioned it in your recent screencast.
After taking a look at it, I quite like what I see, but I'm still a little perplexed on how it is supposed to be used.
Do you care to enlighten the un-enlightened on the workflow and benefits of labrepl over some plain html tutorials and a standard clojure REPL?
Run the repl and browse to localhost:8080. Click on a lab to get started. That's it.
Better than plain HTML: * Code less susceptible to copy paste errors: it is evaluated in Clojure before being rendered in the browser. (This doesn't matter a lot on day 1 but helps with maintainability.) * The "show me" option makes it easy to try it yourself, or be gently led by the code.
Better than plain REPL: * works out of the box * classpath already correct for fun third-party libs * IDE setup already done
Better than either: * Won't fall out of date. Has a test suite, which I run regularly. * Aspires to be systematic, not just a one-off tutorial on topic A. (Admittedly not there yet.)
This isn't rocket science, but it is sweating the details. Or it will be. Make me sweat.
> On 23 March 2010 14:13, Stuart Halloway <stuart.hallo...@gmail.com> > wrote: >> The labrepl project (http://github.com/relevance/labrepl) is a >> tutorial >> environment for learning Clojure. It is open source under the same >> license >> as Clojure. Whether you are learning Clojure on your own, or >> teaching or >> learning in a classroom environment, I want labrepl to be useful to >> you.
> Hi Stuart,
> I saw your github repo for this the other day and was intrigued after > you mentioned it in your recent screencast.
> After taking a look at it, I quite like what I see, but I'm still a > little perplexed on how it is supposed to be used.
> Do you care to enlighten the un-enlightened on the workflow and > benefits of labrepl over some plain html tutorials and a standard > clojure REPL?
> R.
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient > with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure > +unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject.
> The labrepl project (http://github.com/relevance/labrepl) is a > tutorial environment for learning Clojure. It is open source under the > same license as Clojure. Whether you are learning Clojure on your own, > or teaching or learning in a classroom environment, I want labrepl to > be useful to you.
> Features:
> * A compojure-based application that delivers step-by-step > instructions for writing Clojure code > * lab instructions, solutions, and tests (currently enough for 3-4 > days of instructor-led training, YMMV) > * IDE integration (ish, see below)
> Help wanted:
> As the creator of labrepl, I intend to keep it up to date. I will be > adding new labs, adding new features, and making sure that the labs > all work with whatever new hotness appears in the Clojure language. > But I need your help. Specifically, I would like volunteers to sign up > for the following tasks:
> (1) NetBeans integration: Test the instructions in the README and make > sure that they work, and show off NetBeans/Enclojure in its best > light. Bonus credit for writing a lab specifically on using Enclojure. > (2) CounterClockwise integration: Ditto above but for Eclipse/ > Counterclockwise. > (3) IDEA integration: Ditto but for IDEA/La Clojure. > (4) Maven integration. The instruction use leiningen and project.clj, > but the maven pom.xml is checked in. For Java folks, it might be > easier to have instructions that just use maven and skip leiningen. > (5) Out-of-box experience audit. Is the leiningen-based setup easy > enough? If not, please make something simpler (maybe shell scripts > that pull the libs from a download site?) > (6) Better windows instructions/integration.
> Let's make getting started with Clojure easier!
I've shaken out the Netbeans+Enclojure recipe. Thanks to Eric Thorsen for providing a quick patch to Enclojure so the working directory is set to the project directory. I've enhanced the docs in the README to provide a complete recipe. The short of it - just pull labrepl from git, and Enclojure can do the rest. No command line, no lein, no maven. The labrepl browser can run from the Enclojure integrated repl.
Stuart Halloway <stuart.hallo...@gmail.com> writes: > The labrepl project (http://github.com/relevance/labrepl) is a > tutorial environment for learning Clojure. It is open source under the > same license as Clojure. Whether you are learning Clojure on your own, > or teaching or learning in a classroom environment, I want labrepl to > be useful to you.
It's really great tutorial to start playing with Clojure. I think it will be very useful for people just wanted to check what's interesting in Clojure. So I'm afraid that this requirement: """ Make sure you have leiningen installed (http://github.com/technomancy/leiningen). """ might be a little bit too hard to fulfil for beginners.
What about creating standalone ZIP file, which will contain all necessary components: Clojure, Leiningem and Labrepl? I have in mind something like this:
Actually I created such structure myself pretty easy. I needed just to tweak a little bit: lein, lein.bat, repl and repl.bat in order to use JARs from "core" subdirectory.
Now in order to start reading this awesome tutorial there are needed only these steps: 1. unzip labrepl-package.zip 2. cd labrepl-package 3. ./bin/lein deps (Windows: bin\lein deps) 4. ./bin/repl (Windows: bin\repl)
1.3.2 is the latest version of the plugin and fixes some issues with the replScript settings ( it actually continues to run the repl, and not just exits - doh!)
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com<clojure%2Bunsubscribe@googlegroups.com > > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure+ > unsubscribegooglegroups.com or reply to this email with the words "REMOVE > ME" as the subject.
> The labrepl project (http://github.com/relevance/labrepl) is a tutorial > environment for learning Clojure. It is open source under the same license > as Clojure. Whether you are learning Clojure on your own, or teaching or > learning in a classroom environment, I want labrepl to be useful to you.
> Features:
> * A compojure-based application that delivers step-by-step instructions for > writing Clojure code > * lab instructions, solutions, and tests (currently enough for 3-4 days of > instructor-led training, YMMV) > * IDE integration (ish, see below)
> Help wanted:
> As the creator of labrepl, I intend to keep it up to date. I will be adding > new labs, adding new features, and making sure that the labs all work with > whatever new hotness appears in the Clojure language. But I need your help. > Specifically, I would like volunteers to sign up for the following tasks:
> (1) NetBeans integration: Test the instructions in the README and make sure > that they work, and show off NetBeans/Enclojure in its best light. Bonus > credit for writing a lab specifically on using Enclojure. > (2) CounterClockwise integration: Ditto above but for > Eclipse/Counterclockwise. > (3) IDEA integration: Ditto but for IDEA/La Clojure. > (4) Maven integration. The instruction use leiningen and project.clj, but > the maven pom.xml is checked in. For Java folks, it might be easier to have > instructions that just use maven and skip leiningen. > (5) Out-of-box experience audit. Is the leiningen-based setup easy enough? > If not, please make something simpler (maybe shell scripts that pull the > libs from a download site?) > (6) Better windows instructions/integration.
> Let's make getting started with Clojure easier!
> Stu
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your > first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to > clojure+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject.
Mark Derricutt at "Wed, 24 Mar 2010 09:30:26 +1300" wrote: MD> 1.3.2 is the latest version of the plugin and fixes some issues with the replScript settings ( it actually continues to run the repl, and not MD> just exits - doh!)
Yes, I already fixed this in my repo and created pull request - now use of labrepl with maven is very simple - just run of 'mvn clojure:repl'
Thanks to all who reassured me on the non-interference of lein/labrepl with my existing setup.
I did follow the labrepl getting started instructions, get it working, and see that there's some great stuff in there. Very much appreciated and I may want to use this if I teach Clojure in the fall.
That said, the labrepl "getting started" installation procedure, while certainly a step in the right direction, is still a couple of steps short of the simplicity that I and others have been looking for. I ran into a couple of minor confusions/glitches that I had no real problem overcoming myself but which might trip up others, and I still think there'd be great value in a "download, double click, and it works" package. I can feel the exasperation of those of you who find it incredible that the couple of extra steps, which are things that are as obvious to you as breathing, could hang up someone who is otherwise ready to do significant work with Clojure, but it really is true. Rob's ZIP file package looks like another good step in the right direction but is still not as simple as the procedure for many other languages and still doesn't provide a minimal Clojure-oriented editing environment.
Rich's revision of the Netbeans+Enclojure looks like it might be even closer to what I've been looking for, and I plan to try that out as soon as I get a chance.
> Stuart Halloway <stuart.hallo...@gmail.com> writes:
>> The labrepl project (http://github.com/relevance/labrepl) is a >> tutorial environment for learning Clojure. It is open source under the >> same license as Clojure. Whether you are learning Clojure on your own, >> or teaching or learning in a classroom environment, I want labrepl to >> be useful to you.
> It's really great tutorial to start playing with Clojure. > I think it will be very useful for people just wanted > to check what's interesting in Clojure. > So I'm afraid that this requirement: > """ > Make sure you have leiningen installed > (http://github.com/technomancy/leiningen). > """ > might be a little bit too hard to fulfil for beginners.
> What about creating standalone ZIP file, which will contain > all necessary components: Clojure, Leiningem and Labrepl? > I have in mind something like this:
> Actually I created such structure myself pretty easy. > I needed just to tweak a little bit: lein, lein.bat, > repl and repl.bat in order to use JARs from "core" subdirectory.
> Now in order to start reading this awesome tutorial there are > needed only these steps: > 1. unzip labrepl-package.zip > 2. cd labrepl-package > 3. ./bin/lein deps (Windows: bin\lein deps) > 4. ./bin/repl (Windows: bin\repl)
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
-- Lee Spector, Professor of Computer Science School of Cognitive Science, Hampshire College 893 West Street, Amherst, MA 01002-3359 lspec...@hampshire.edu, http://hampshire.edu/lspector/ Phone: 413-559-5352, Fax: 413-559-5438
Please note that Stuart added to the README the tutorial for Eclipse/ccw. I wrote it so that if every step works as expected (it did with my own tests), there is no pre-requisite but having a JVM on your machine : no need to know/install Git on the command line, no need to know/install maven command line tool, no need to know/install leiningen.
Detailed tutorial based along the lines of the Enclojure tutorial, but for ccw, with the additional step (certainly doable in the enclojure tutorial, I guess) of installing a Git plugin in Eclipse to *completely* remove the need to use the command line.
> Thanks to all who reassured me on the non-interference of lein/labrepl with my existing setup.
> I did follow the labrepl getting started instructions, get it working, and see that there's some great stuff in there. Very much appreciated and I may want to use this if I teach Clojure in the fall.
> That said, the labrepl "getting started" installation procedure, while certainly a step in the right direction, is still a couple of steps short of the simplicity that I and others have been looking for. I ran into a couple of minor confusions/glitches that I had no real problem overcoming myself but which might trip up others, and I still think there'd be great value in a "download, double click, and it works" package. I can feel the exasperation of those of you who find it incredible that the couple of extra steps, which are things that are as obvious to you as breathing, could hang up someone who is otherwise ready to do significant work with Clojure, but it really is true. Rob's ZIP file package looks like another good step in the right direction but is still not as simple as the procedure for many other languages and still doesn't provide a minimal Clojure-oriented editing environment.
> Rich's revision of the Netbeans+Enclojure looks like it might be even closer to what I've been looking for, and I plan to try that out as soon as I get a chance.
> Thanks all for all of the support.
> -Lee
> On Mar 23, 2010, at 4:18 PM, Rob Wolfe wrote:
>> Stuart Halloway <stuart.hallo...@gmail.com> writes:
>>> The labrepl project (http://github.com/relevance/labrepl) is a >>> tutorial environment for learning Clojure. It is open source under the >>> same license as Clojure. Whether you are learning Clojure on your own, >>> or teaching or learning in a classroom environment, I want labrepl to >>> be useful to you.
>> It's really great tutorial to start playing with Clojure. >> I think it will be very useful for people just wanted >> to check what's interesting in Clojure. >> So I'm afraid that this requirement: >> """ >> Make sure you have leiningen installed >> (http://github.com/technomancy/leiningen). >> """ >> might be a little bit too hard to fulfil for beginners.
>> What about creating standalone ZIP file, which will contain >> all necessary components: Clojure, Leiningem and Labrepl? >> I have in mind something like this:
>> Actually I created such structure myself pretty easy. >> I needed just to tweak a little bit: lein, lein.bat, >> repl and repl.bat in order to use JARs from "core" subdirectory.
>> Now in order to start reading this awesome tutorial there are >> needed only these steps: >> 1. unzip labrepl-package.zip >> 2. cd labrepl-package >> 3. ./bin/lein deps (Windows: bin\lein deps) >> 4. ./bin/repl (Windows: bin\repl)
>> -- >> You received this message because you are subscribed to the Google >> Groups "Clojure" group. >> To post to this group, send email to clojure@googlegroups.com >> Note that posts from new members are moderated - please be patient with your first post. >> To unsubscribe from this group, send email to >> clojure+unsubscribe@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/clojure?hl=en
>> To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
> -- > Lee Spector, Professor of Computer Science > School of Cognitive Science, Hampshire College > 893 West Street, Amherst, MA 01002-3359 > lspec...@hampshire.edu, http://hampshire.edu/lspector/ > Phone: 413-559-5352, Fax: 413-559-5438
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
On Mar 23, 4:13 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> The labrepl project (http://github.com/relevance/labrepl) is a > tutorial environment for learning Clojure. ... > (2) CounterClockwise integration: Ditto above but for Eclipse/
I followed the steps and successfully runned the labrepl with Eclipse and CCW.
On Mar 23, 10:18 pm, Rob Wolfe <r...@smsnet.pl> wrote:
> Stuart Halloway <stuart.hallo...@gmail.com> writes: > > The labrepl project (http://github.com/relevance/labrepl) is a > What about creating standalone ZIP file, which will contain > all necessary components: Clojure, Leiningem and Labrepl? > I tried that on Linux and Windows and it just plain works. > I uploaded this ZIP here:http://github.com/downloads/robwolfe/lein-diagnostics/labrepl-package... > in case you want to take a look.
> On Mar 23, 4:13 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
>> The labrepl project (http://github.com/relevance/labrepl) is a >> tutorial environment for learning Clojure. > ... >> (2) CounterClockwise integration: Ditto above but for Eclipse/
> I followed the steps and successfully runned the labrepl with Eclipse > and CCW.
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
> > On Mar 23, 4:13 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
> >> The labrepl project (http://github.com/relevance/labrepl) is a > >> tutorial environment for learning Clojure. > > ... > >> (2) CounterClockwise integration: Ditto above but for Eclipse/
> > I followed the steps and successfully runned the labrepl with Eclipse > > and CCW.
> On Mar 24, 3:53 pm, Laurent PETIT <laurent.pe...@gmail.com> wrote: >> 2010/3/24 Zmitro Lapcjonak <idob...@gmail.com>:
>> > On Mar 23, 4:13 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:
>> >> The labrepl project (http://github.com/relevance/labrepl) is a >> >> tutorial environment for learning Clojure. >> > ... >> >> (2) CounterClockwise integration: Ditto above but for Eclipse/
>> > I followed the steps and successfully runned the labrepl with Eclipse >> > and CCW.
> -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with your first post. > To unsubscribe from this group, send email to > clojure+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en
> To unsubscribe from this group, send email to clojure+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
I am trying to start labrepl with emacs. Labrepl is working nice, but I cant "slime-connect" :( Have this message: "open-network-stream: make client process failed: connection refused, :name, SLIME Lisp, :buffer, nil, :host, 127.0.0.1, :service, 4005" Could you tell me how to fix it ?
> Help wanted: > (5) Out-of-box experience audit. Is the leiningen-based setup easy > enough? If not, please make something simpler (maybe shell scripts > that pull the libs from a download site?) > (6) Better windows instructions/integration.
Very nice! I'm looking at it now, on windows XP; only hiccup was that the readme says use Clojure 1.1 jar, which fails; the dependencies seem to call for 1.2.0-master-SNAPSHOT, which works (set in lein.bat).
Leiningen setup on Windows isn't too bad, but could be improved. Steps I followed:
- grab leiningen from github - edit lein.bat: make LEIN_JAR point to leiningen-1.0.1-standalone.jar - put lein.bat on the path somewhere - in leiningen dir, execute "lein compile" - (lein uberjar will fail, so...) - edit lien.bat again, change set CLASSPATH=%CLASSPATH%;"%LEIN_JAR%" to set CLASSPATH=%CLASSPATH%;./classes - execute "lein uberjar", now we're running with the fresh classes and building a 1.1-version leiningen.jar - edit lein.bat again: undo the classpath edit, and make LEIN_JAR point to the newly generated leiningen.jar.
That gives a 1.1-version, standalone leiningen, size around 10MB, can be run with no other dependencies. After that setup, I've been into both the Incanter example from earlier, and this labrepl; so it appears to be working.