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
Making (load) work
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
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
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
 
Justis  
View profile  
 More options Feb 6 2011, 11:04 am
From: Justis <morka.tupinti.uz.ke...@gmail.com>
Date: Sun, 6 Feb 2011 08:04:33 -0800 (PST)
Local: Sun, Feb 6 2011 11:04 am
Subject: Making (load) work
Hi,

i'm  new to lisp, now reading this marvelous book.. The thing is, i'm
in 8 chapter and i need to use "graph-util.lisp" which was written in
chapter 7 and when i write (load "graph-util") - it kind'a says f u.
And that is normal, because i do not know where i have to put that
file to work as it should.. There is nothing written in the book about
that :S


 
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.
Justis  
View profile  
 More options Feb 6 2011, 11:44 am
From: Justis <morka.tupinti.uz.ke...@gmail.com>
Date: Sun, 6 Feb 2011 08:44:53 -0800 (PST)
Local: Sun, Feb 6 2011 11:44 am
Subject: Re: Making (load) work
Ok. Simple thing, silly me it's like in linux - uses my home folder
(now i'm using windows :S)

On Feb 6, 6:04 pm, Justis <morka.tupinti.uz.ke...@gmail.com> wrote:


 
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.
Purity Control  
View profile  
 More options Feb 6 2011, 12:21 pm
From: Purity Control <cr...@craigferry.net>
Date: Sun, 6 Feb 2011 09:21:50 -0800 (PST)
Local: Sun, Feb 6 2011 12:21 pm
Subject: Re: Making (load) work
Hi,
I am not sure what environment you are using but if both files are in
the same directory it should work.

On Feb 6, 4:44 pm, Justis <morka.tupinti.uz.ke...@gmail.com> wrote:


 
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.
Justis  
View profile   Translate to Translated (View Original)
 More options Feb 6 2011, 12:37 pm
From: Justis <morka.tupinti.uz.ke...@gmail.com>
Date: Sun, 6 Feb 2011 19:37:28 +0200
Local: Sun, Feb 6 2011 12:37 pm
Subject: Re: Making (load) work

i'm using clisp as mentioned in book. and i am using clisp over cmd (like
run -> cmd -> clisp), and i haven't thought before, that cmd uses "home"
directory, like c:\documents and settings\username and that was mi minor
problem which is solved.

By the way, lisp is really interesting language, but the thing is about the
performance. I think that lisp isn't as fast as c/c++, or am i wrong ? by
the way. while reading the book, i thougt that lists in lisp are like arrays
in other languages aren't they ? (not in technical specifications, but in
general)

( :Justis )


 
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.
Frank Lavoie  
View profile  
 More options Apr 20 2011, 8:09 pm
From: Frank Lavoie <lav.fran...@gmail.com>
Date: Wed, 20 Apr 2011 17:09:30 -0700 (PDT)
Local: Wed, Apr 20 2011 8:09 pm
Subject: Re: Making (load) work

Hi,

I'm running clisp on Snow Leopard.
I'm also using emacs + slime for development.

I have the same problem. If I move the file in my Home directory, it works
fine, but not in the current directory.

Do we need to had files like __init__.py in python or a path variable?


 
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.
Frank Lavoie  
View profile  
 More options Apr 28 2011, 10:25 am
From: Frank Lavoie <lav.fran...@gmail.com>
Date: Thu, 28 Apr 2011 07:25:04 -0700 (PDT)
Local: Thurs, Apr 28 2011 10:25 am
Subject: Re: Making (load) work

Can someone knows where I could check for this info? I'm new to lisp and the book is my starting point, I'm a bit lost.


 
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.
Phil Rand  
View profile  
 More options Apr 29 2011, 12:08 am
From: Phil Rand <philr...@gmail.com>
Date: Thu, 28 Apr 2011 21:08:46 -0700
Local: Fri, Apr 29 2011 12:08 am
Subject: Re: Making (load) work

On Mac OSX, if I cd to the project directory (in a terminal window --
similar to cmd in windows) before starting lisp, then (load "abc") will load
the file abc.lisp in that directory.  I haven't used lisp on windows in
years, but I think it was similar.

It turns out that the way Common Lisp handles file names and path names is
pretty complicated, because when they were creating the language, and later
the standard, they had a major requirement to be compatible with a whole
menagerie of operating systems, many of which had very different ways of
organizing files.  They had to deal with far bigger differences than the
trivial ways Windows and the different Unix-like OS's differ.  These days,
it's kind of overkill, but I first learned computers back on PDP-11
minicomputers, and worked on VAX/VMS for years, so I get a little nostalgic
when I come across the path complications in lisp.  Conrad chose not to
delve too deeply into these issues, probably because it would be tough to do
a thorough job without making the book dull and much too long.

Another thing Conrad doesn't mention is the issue of editor support for
lisp.  Most lisp programmers use the Emacs editor, with the amazing Slime
add-on.  But that is a LOT to learn for a beginner.  I think it was wise to
just stay away from that topic.

Someone asked about lisp performance vis-a-vis c or c++.  That's a big
topic.  CLISP, the common lisp implementation recommended for the book,
compiles to byte-code, in other words, to a virtual machine, like java or
.net, but since huge companies haven't been pouring billions of dollars into
the CLISP vm, as they have with java and .net, I assume they are much
faster.  Other versions of common lisp, for example SBCL, compile to machine
code, and so can be quite fast, rivaling c/c++ if carefully tuned.  Of
course, that's putting the cdr before the car.  What really wins is the
better algorithm, and lisp's flexibility and ease of programming gives the
lisper a good chance of finding a better algorithm, if she looks for it.

On Thu, Apr 28, 2011 at 7:25 AM, Frank Lavoie <lav.fran...@gmail.com> wrote:
> Can someone knows where I could check for this info? I'm new to lisp and
> the book is my starting point, I'm a bit lost.

--
Phil Rand
philr...@gmail.com
philr...@pobox.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.
Phil Rand  
View profile  
 More options Apr 29 2011, 12:18 am
From: Phil Rand <philr...@gmail.com>
Date: Thu, 28 Apr 2011 21:18:15 -0700
Local: Fri, Apr 29 2011 12:18 am
Subject: Re: Making (load) work

In emacs + slime, in the slime repl, press the comma key, then "pwd" to see
your current default directory.  Press comma, then cd and press return, and
type a new directory name (tab for completions) to change directories.

On Wed, Apr 20, 2011 at 5:09 PM, Frank Lavoie <lav.fran...@gmail.com> wrote:
> Hi,

> I'm running clisp on Snow Leopard.
> I'm also using emacs + slime for development.

> I have the same problem. If I move the file in my Home directory, it works
> fine, but not in the current directory.

> Do we need to had files like __init__.py in python or a path variable?

--
Phil Rand
philr...@gmail.com
philr...@pobox.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.
Frank Lavoie  
View profile  
 More options May 3 2011, 10:45 pm
From: Frank Lavoie <lav.fran...@gmail.com>
Date: Tue, 3 May 2011 19:45:38 -0700 (PDT)
Local: Tues, May 3 2011 10:45 pm
Subject: Re: Making (load) work

thanks but that doesn't seem to work (it throws : READ: comma is illegal
outside of backquote)

if I do M-x dired and switch directory it seems to work though


 
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.
Phil Rand  
View profile  
 More options May 3 2011, 11:09 pm
From: Phil Rand <philr...@gmail.com>
Date: Tue, 3 May 2011 20:09:43 -0700
Local: Tues, May 3 2011 11:09 pm
Subject: Re: Making (load) work

Hmm...  I'm using quicklisp and its slime-helper script to start slime.  I
haven't studied that in detail (since it "just works" for me), but it seems
to be loading some of the slime contrib packages.  I'm guessing the comma
escape for commands comes from in there somewhere.  I highly recommend
quicklisp, by the way.

On Tue, May 3, 2011 at 7:45 PM, Frank Lavoie <lav.fran...@gmail.com> wrote:
> thanks but that doesn't seem to work (it throws : READ: comma is illegal
> outside of backquote)

> if I do M-x dired and switch directory it seems to work though

--
Phil Rand
philr...@gmail.com
philr...@pobox.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.
End of messages
« Back to Discussions « Newer topic     Older topic »