Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
ANN: labrepl, making Clojure more accessible
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 34 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Stuart Halloway  
View profile  
 More options Mar 23 2010, 10:13 am
From: Stuart Halloway <stuart.hallo...@gmail.com>
Date: Tue, 23 Mar 2010 10:13:11 -0400
Local: Tues, Mar 23 2010 10:13 am
Subject: ANN: labrepl, making Clojure more accessible
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Kohl  
View profile  
 More options Mar 23 2010, 10:28 am
From: Michael Kohl <citizen...@gmail.com>
Date: Tue, 23 Mar 2010 15:28:31 +0100
Local: Tues, Mar 23 2010 10:28 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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 :-)

Michael


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rich Hickey  
View profile  
 More options Mar 23 2010, 10:34 am
From: Rich Hickey <richhic...@gmail.com>
Date: Tue, 23 Mar 2010 10:34:30 -0400
Local: Tues, Mar 23 2010 10:34 am
Subject: Re: ANN: labrepl, making Clojure more accessible

On Mar 23, 2010, at 10:13 AM, Stuart Halloway wrote:

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.

I don't see pom.xml

Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stuart Halloway  
View profile  
 More options Mar 23 2010, 10:37 am
From: Stuart Halloway <stuart.hallo...@gmail.com>
Date: Tue, 23 Mar 2010 10:37:51 -0400
Local: Tues, Mar 23 2010 10:37 am
Subject: Re: ANN: labrepl, making Clojure more accessible
GIt just needed a little push. It's there now. Thanks Rich!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Ott  
View profile  
 More options Mar 23 2010, 11:16 am
From: Alex Ott <alex...@gmail.com>
Date: Tue, 23 Mar 2010 16:16:15 +0100
Local: Tues, Mar 23 2010 11:16 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Hello

Stuart Halloway  at "Tue, 23 Mar 2010 10:37:51 -0400" wrote:
 SH> GIt just needed a little push. It's there now. Thanks Rich!

It's better to add

    <plugins>
      <plugin>
        <groupId>com.theoryinpractise</groupId>
        <artifactId>clojure-maven-plugin</artifactId>
        <version>1.3</version>
      </plugin>
    </plugins>

into <build> section, and

    <dependency>
      <groupId>swank-clojure</groupId>
      <artifactId>swank-clojure</artifactId>
      <version>1.1.0-SNAPSHOT</version>
    </dependency>

into dependencies - in this case user can get access to 'mvn clojure:repl'
& 'mvn clojure:swank' commands

--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://alexott.net
http://alexott-ru.blogspot.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Per Vognsen  
View profile  
 More options Mar 23 2010, 11:23 am
From: Per Vognsen <per.vogn...@gmail.com>
Date: Tue, 23 Mar 2010 22:23:04 +0700
Local: Tues, Mar 23 2010 11:23 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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.

-Per

On Tue, Mar 23, 2010 at 9:13 PM, Stuart Halloway


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Meikel Brandmeyer  
View profile  
 More options Mar 23 2010, 11:32 am
From: Meikel Brandmeyer <m...@kotka.de>
Date: Tue, 23 Mar 2010 08:32:52 -0700 (PDT)
Local: Tues, Mar 23 2010 11:32 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Hi,

On Mar 23, 3:13 pm, Stuart Halloway <stuart.hallo...@gmail.com> wrote:

> (1) NetBeans
> (2) CounterClockwise
> (3) IDEA
> (x) Emacs

Are you also interested in Vim integration?

Sincerely
Meikel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stuart Halloway  
View profile  
 More options Mar 23 2010, 11:37 am
From: Stuart Halloway <stuart.hallo...@gmail.com>
Date: Tue, 23 Mar 2010 11:37:13 -0400
Local: Tues, Mar 23 2010 11:37 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Absolutely!  (Shameful admission: I have never touched Vim in my life.)

I figured leaving it out entirely was the fastest way to entice a  
contributor. :-)

Stu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rick Moynihan  
View profile  
 More options Mar 23 2010, 1:33 pm
From: Rick Moynihan <rick.moyni...@gmail.com>
Date: Tue, 23 Mar 2010 17:33:24 +0000
Local: Tues, Mar 23 2010 1:33 pm
Subject: Re: ANN: labrepl, making Clojure more accessible
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Stuart Halloway  
View profile  
 More options Mar 23 2010, 1:58 pm
From: Stuart Halloway <stuart.hallo...@gmail.com>
Date: Tue, 23 Mar 2010 13:58:10 -0400
Local: Tues, Mar 23 2010 1:58 pm
Subject: Re: ANN: labrepl, making Clojure more accessible
Sounds like it is time to improve the README. :-)

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.

Stu


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Meikel Brandmeyer  
View profile  
 More options Mar 23 2010, 2:43 pm
From: Meikel Brandmeyer <m...@kotka.de>
Date: Tue, 23 Mar 2010 19:43:49 +0100
Local: Tues, Mar 23 2010 2:43 pm
Subject: Re: ANN: labrepl, making Clojure more accessible
Hi,

On Tue, Mar 23, 2010 at 11:37:13AM -0400, Stuart Halloway wrote:
> Absolutely!  (Shameful admission: I have never touched Vim in my life.)

> I figured leaving it out entirely was the fastest way to entice a
> contributor. :-)

Hehe. And I should learn to stay quiet. :)

Sincerely
Meikel


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rich Hickey  
View profile  
 More options Mar 23 2010, 3:57 pm
From: Rich Hickey <richhic...@gmail.com>
Date: Tue, 23 Mar 2010 12:57:48 -0700 (PDT)
Local: Tues, Mar 23 2010 3:57 pm
Subject: Re: ANN: labrepl, making Clojure more accessible

On Mar 23, 10:13 am, Stuart Halloway <stuart.hallo...@gmail.com>
wrote:

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.

Rich


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rob Wolfe  
View profile  
 More options Mar 23 2010, 4:18 pm
From: Rob Wolfe <r...@smsnet.pl>
Date: Tue, 23 Mar 2010 21:18:26 +0100
Local: Tues, Mar 23 2010 4:18 pm
Subject: Re: ANN: labrepl, making Clojure more accessible

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:

|-- bin
|   |-- lein
|   |-- lein.bat
|   |-- repl
|   `-- repl.bat
|-- config
|   `-- log4j.properties
|-- core
|   |-- clojure-1.1.0.jar
|   |-- labrepl-0.0.1.jar
|   `-- leiningen-1.1.0-standalone.jar
|-- log
|-- project.clj
`-- public

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)

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.

Br,
Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Derricutt  
View profile  
 More options Mar 23 2010, 4:30 pm
From: Mark Derricutt <m...@talios.com>
Date: Wed, 24 Mar 2010 09:30:26 +1300
Local: Tues, Mar 23 2010 4:30 pm
Subject: Re: ANN: labrepl, making Clojure more accessible

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!)

--
Pull me down under...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent PETIT  
View profile  
 More options Mar 23 2010, 4:43 pm
From: Laurent PETIT <laurent.pe...@gmail.com>
Date: Tue, 23 Mar 2010 21:43:20 +0100
Local: Tues, Mar 23 2010 4:43 pm
Subject: Re: ANN: labrepl, making Clojure more accessible
I'll do the counterclockwise review tonight, review soon to come

2010/3/23 Stuart Halloway <stuart.hallo...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alex Ott  
View profile  
 More options Mar 24 2010, 4:39 am
From: Alex Ott <alex...@gmail.com>
Date: Wed, 24 Mar 2010 09:39:15 +0100
Local: Wed, Mar 24 2010 4:39 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Hello

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'

--
With best wishes, Alex Ott, MBA
http://alexott.blogspot.com/           http://alexott.net
http://alexott-ru.blogspot.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lee Spector  
View profile   Translate to Translated (View Original)
 More options Mar 24 2010, 7:56 am
From: Lee Spector <lspec...@hampshire.edu>
Date: Wed, 24 Mar 2010 07:56:18 -0400
Local: Wed, Mar 24 2010 7:56 am
Subject: Re: ANN: labrepl, making Clojure more accessible

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:

--
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

Check out Genetic Programming and Evolvable Machines:
http://www.springer.com/10710 - http://gpemjournal.blogspot.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent PETIT  
View profile  
 More options Mar 24 2010, 8:44 am
From: Laurent PETIT <laurent.pe...@gmail.com>
Date: Wed, 24 Mar 2010 13:44:07 +0100
Local: Wed, Mar 24 2010 8:44 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Hi Lee,

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.

HTH, feedback welcome,

--
Laurent

2010/3/24 Lee Spector <lspec...@hampshire.edu>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zmitro Lapcjonak  
View profile  
 More options Mar 24 2010, 9:28 am
From: Zmitro Lapcjonak <idob...@gmail.com>
Date: Wed, 24 Mar 2010 06:28:12 -0700 (PDT)
Local: Wed, Mar 24 2010 9:28 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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.

--
Zmitro Lapcionak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zmitro Lapcjonak  
View profile  
 More options Mar 24 2010, 9:31 am
From: Zmitro Lapcjonak <idob...@gmail.com>
Date: Wed, 24 Mar 2010 06:31:05 -0700 (PDT)
Local: Wed, Mar 24 2010 9:31 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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.

I took a look :)
Thanks for the zip.

--
Zmitro Lapcionak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent PETIT  
View profile  
 More options Mar 24 2010, 9:53 am
From: Laurent PETIT <laurent.pe...@gmail.com>
Date: Wed, 24 Mar 2010 14:53:15 +0100
Local: Wed, Mar 24 2010 9:53 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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.

Good ! Which environment were you using ?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Zmitro Lapcjonak  
View profile  
 More options Mar 24 2010, 10:31 am
From: Zmitro Lapcjonak <idob...@gmail.com>
Date: Wed, 24 Mar 2010 07:31:19 -0700 (PDT)
Local: Wed, Mar 24 2010 10:31 am
Subject: Re: ANN: labrepl, making Clojure more accessible

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.

> Good ! Which environment were you using ?

WinXP pro sp3
JDK 1.5
Eclipse 3.5
CCW 0.0.51
Firefox 3.6

--
Zmitro Lapcionak


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Laurent PETIT  
View profile  
 More options Mar 24 2010, 10:39 am
From: Laurent PETIT <laurent.pe...@gmail.com>
Date: Wed, 24 Mar 2010 15:39:23 +0100
Local: Wed, Mar 24 2010 10:39 am
Subject: Re: ANN: labrepl, making Clojure more accessible
Cool !

2010/3/24 Zmitro Lapcjonak <idob...@gmail.com>:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
invis  
View profile  
 More options Mar 24 2010, 11:59 am
From: invis <invi...@gmail.com>
Date: Wed, 24 Mar 2010 08:59:22 -0700 (PDT)
Local: Wed, Mar 24 2010 11:59 am
Subject: Re: ANN: labrepl, making Clojure more accessible
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 ?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "labrepl, making Clojure more accessible" by Kevin
Kevin  
View profile  
 More options Mar 23 2010, 4:42 pm
From: "Kevin" <ke...@kelleysoft.com>
Date: Tue, 23 Mar 2010 15:42:54 -0500
Local: Tues, Mar 23 2010 4:42 pm
Subject: RE: labrepl, making Clojure more accessible

> 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.

Cheers,
Kevin Kelley


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 34   Newer >
« Back to Discussions « Newer topic     Older topic »