Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Implementor: what to read?
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 28 - 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
 
Yannick Gingras  
View profile  
 More options Sep 29 2006, 5:06 pm
Newsgroups: comp.lang.lisp
From: Yannick Gingras <yging...@ygingras.net>
Date: Fri, 29 Sep 2006 17:06:46 -0400
Local: Fri, Sep 29 2006 5:06 pm
Subject: Implementor: what to read?
Hi, there seem to be a lot of implementor users out there.  I
tried to download the source code for a few CL implementations
but I definitely don't know enough to study how it works with
just the source.  So imagine that I feel ready to implement a
Lisp (not CL, something smaller but more than Scheme).  What
should I read?  I would like my implementation to be both an
interpreter and a compiler, ideally to native code.  I like the
idea of type inference but maybe this is an advanced subject.
How much code could be borrowed from actual implementations?  Is
there an implementation out there that is easy to study?  Self
hosting is cool but it looks like a pain to bootstrap.  Would an
implementation benefit from a small kernel in C or something?

Ok thats a lot of questions and I probably can't attack them
until I learn more.  So what should I read?

-- Yannick Gingras


 
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.
Ari Johnson  
View profile  
 More options Sep 29 2006, 5:16 pm
Newsgroups: comp.lang.lisp
From: Ari Johnson <iamthe...@gmail.com>
Date: Fri, 29 Sep 2006 17:16:52 -0400
Local: Fri, Sep 29 2006 5:16 pm
Subject: Re: Implementor: what to read?

Yannick Gingras <yging...@ygingras.net> writes:
> Ok thats a lot of questions and I probably can't attack them
> until I learn more.  So what should I read?

Lisp in Small Pieces, if you can find a copy. (My local university
library had one.)

Also, study simpler lisp implementations.  GNU Guile is where I
learned a lot of what I ended up putting to use in ALisp.  You can
also have a look at Mosquito Lisp, available under the LGPL from its
developers at http://www.ephemeralsecurity.com/ - it's not terribly
hard to follow their (very Schemeish) implementation.

Another thing you will want to do is define your goals.  What do you
want to be possible in your lisp?  I wrote mine as a secure (no
capability of modifying anything outside its environment, such as
files on disk) application extension language with a particular use in
mind.  Have your goals in mind before you lay down any code.

As to reusing code, I have not found that it would be terribly useful
to do that.  Most of the major open-source CL implementations have
enough pervasive internal structures that cutting out any one part and
making real use of it seems like more work than it would be worth.

As to having a C (or other language) kernel do some of the work for
you, that will depend on what goals you eventually adopt.  If you want
to be able to compile down to an ELF executable, you will likely not
need one by the time you are done.  Otherwise, if you value your
sanity, you will probably do certain parts, such as loading a memory
image and collecting garbage, in C or some other language more
suitable to low-level memory management and OS interface.


 
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 Warnock  
View profile  
 More options Sep 29 2006, 8:39 pm
Newsgroups: comp.lang.lisp
From: r...@rpw3.org (Rob Warnock)
Date: Fri, 29 Sep 2006 19:39:18 -0500
Local: Fri, Sep 29 2006 8:39 pm
Subject: Re: Implementor: what to read?
Ari Johnson  <iamthe...@gmail.com> wrote:
+---------------
| Yannick Gingras <yging...@ygingras.net> writes:
| > Ok thats a lot of questions and I probably can't attack them
| > until I learn more.  So what should I read?
|
| Lisp in Small Pieces, if you can find a copy.
+---------------

Absolutely!! A great book! Especially the section on
"fast interpretation" where he [Christian Queinnec]
presents several different ways to manage lexical
environments.

Also read the chapters on interpreters & compilers in
Peter Norvig's "Paradigms of Artificial Intelligence
Programming" <http://www.norvig.com/paip.html>.

+---------------
| Also, study simpler lisp implementations.
+---------------

Lisp500, SIOD, SCM. [Though the latter two are Schemes.]

And I've found the source code for CMUCL to be surprisingly
readable, *except* the interpreter and compiler proper. That is,
all the code for the built-in CL "library" functions [the stuff
in "src/code/" as opposed to the stuff in "src/compiler/"] is
quite readable.

-Rob

-----
Rob Warnock                     <r...@rpw3.org>
627 26th Avenue                 <URL:http://rpw3.org/>
San Mateo, CA 94403             (650)572-2607


 
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.
Steven Haflich  
View profile  
 More options Sep 30 2006, 12:52 am
Newsgroups: comp.lang.lisp
From: Steven Haflich <s...@alum.mit.edu>
Date: Sat, 30 Sep 2006 04:52:10 GMT
Local: Sat, Sep 30 2006 12:52 am
Subject: Re: Implementor: what to read?

Yannick Gingras wrote:
> Hi, there seem to be a lot of implementor users out there.  I
> tried to download the source code for a few CL implementations
> but I definitely don't know enough to study how it works with
> just the source.

I think this is not a productive approach for what you are trying to do.
  Let me recite an old joke:

   Q: How do you carve a sculpture of an elephant?
   A: Start with a large block of marble and chip away
      everything that doesn't look like an elephant.

You are combining the goal of learning Lisp (in Lisp) with the goal of
implementing Lisp.  Would you do the same thing with C++?  With assembly
language?

Lisp is nearly always implemented in Lisp.  (Just like C is nearly
always implemented in C, and Java is nearly always implemented in Java.)
  Before you deal with the complexity and unfamiliarity of implementing
Lisp you should first learn to be a Lisp programmer.  This will go
faster and will be more productive for you.

Peter Seibel's book is a good modern choice, but there are a number of
others as well.


 
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.
Bill Atkins  
View profile  
 More options Sep 30 2006, 12:56 am
Newsgroups: comp.lang.lisp
From: Bill Atkins <atk...@rpi.edu>
Date: Sat, 30 Sep 2006 00:56:35 -0400
Local: Sat, Sep 30 2006 12:56 am
Subject: Re: Implementor: what to read?

Steven Haflich <s...@alum.mit.edu> writes:
> You are combining the goal of learning Lisp (in Lisp) with the goal of
> implementing Lisp.  Would you do the same thing with C++?  With assembly
> language?

Where did he say he was doing this to learn Lisp?

 
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.
Christophe Rhodes  
View profile  
 More options Sep 30 2006, 2:34 am
Newsgroups: comp.lang.lisp
From: Christophe Rhodes <cs...@cam.ac.uk>
Date: Sat, 30 Sep 2006 07:34:28 +0100
Local: Sat, Sep 30 2006 2:34 am
Subject: Re: Implementor: what to read?

Steven Haflich <s...@alum.mit.edu> writes:
> You are combining the goal of learning Lisp (in Lisp) with the goal of
> implementing Lisp.

A reasonably trivial google search (I used "yannick gingras lisp")
suggests that this is unlikely to be the case.

To the OP: Lisp in Small Pieces is a good book for implementors; I
would also recommend lisp500's source code over any more
production-quality lisp, as it is relatively simple (at least once the
C code has been deobfuscated).

Christophe


 
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.
Thomas F. Burdick  
View profile  
 More options Sep 30 2006, 5:31 am
Newsgroups: comp.lang.lisp
From: t...@conquest.OCF.Berkeley.EDU (Thomas F. Burdick)
Date: 30 Sep 2006 02:31:27 -0700
Local: Sat, Sep 30 2006 5:31 am
Subject: Re: Implementor: what to read?

Others have given good suggestions here.  I'd also recommend a good
compiler book (like _Modern Compiler Design in ML_) if you're not
familiar with the interesting parts of a compiler (ie, everything
after you have an AST).

As for a dialect, you might look at ISLISP.  It's small, simple, but
with enough goodies that you could do real work in it.  The spec seems
to be written to allow for very static, batch-compile-then-deploy
implementations, but doesn't preclude you from making a nice dynamic,
interactive one.

On the question of bootstrapping, it's not hard if you begin your
implementation in CL -- you can port your compiler and runtime to its
own dialect when it's time.  Or, write your low-level VM in C, but in
such a way that you'll be able to replace it later.


 
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.
Yannick Gingras  
View profile  
 More options Sep 30 2006, 10:43 am
Newsgroups: comp.lang.lisp
From: Yannick Gingras <yging...@ygingras.net>
Date: Sat, 30 Sep 2006 10:43:49 -0400
Local: Sat, Sep 30 2006 10:43 am
Subject: Re: Implementor: what to read?

Thanks for all the suggestions!  There was some minor confusion on my
intent.  I indeed know a reasonable part of CL and I'm only interested in
doing the implementation of a small dialect at the moment.  

What I want is a concise Lisp for shell scripting that will scale well to
medium size projects.  You can think of Python with sexp syntax and macros.
I know many scheme implementation have large shell scripting libraries but
I really want to try to make my own dialect.

I won't start coding soon but as I do my reading I want to let ideas for my
small dialect assemble slowly into a coherent structure.  What features
should a shell scripting oriented dialect have?

Regards,

--
Yannick Gingras


 
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.
David Golden  
View profile  
 More options Sep 30 2006, 11:26 am
Newsgroups: comp.lang.lisp
From: David Golden <david.gol...@oceanfree.net>
Date: Sat, 30 Sep 2006 16:26:14 +0100
Local: Sat, Sep 30 2006 11:26 am
Subject: Re: Implementor: what to read?

Yannick Gingras wrote:
> What
> features should a shell scripting oriented dialect have?

"# blah <EOL>" as comment syntax (or at least a special casing of the
first line of a file if it begins with #!) so that "#!" works like
people have come to expect. ;-)

 
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.
Ari Johnson  
View profile  
 More options Sep 30 2006, 12:06 pm
Newsgroups: comp.lang.lisp
From: Ari Johnson <iamthe...@gmail.com>
Date: Sat, 30 Sep 2006 12:06:16 -0400
Local: Sat, Sep 30 2006 12:06 pm
Subject: Re: Implementor: what to read?
t...@conquest.OCF.Berkeley.EDU (Thomas F. Burdick) writes:

> Others have given good suggestions here.  I'd also recommend a good
> compiler book (like _Modern Compiler Design in ML_) if you're not
> familiar with the interesting parts of a compiler (ie, everything
> after you have an AST).

For that matter, read the paper on CMUCL's Python compiler.  I forget
where it's hosted but I wish I had read it prior to ever writing a
compiler.

 
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.
Ari Johnson  
View profile  
 More options Sep 30 2006, 12:09 pm
Newsgroups: comp.lang.lisp
From: Ari Johnson <iamthe...@gmail.com>
Date: Sat, 30 Sep 2006 12:09:40 -0400
Local: Sat, Sep 30 2006 12:09 pm
Subject: Re: Implementor: what to read?

Ari Johnson <iamthe...@gmail.com> writes:
> t...@conquest.OCF.Berkeley.EDU (Thomas F. Burdick) writes:

>> Others have given good suggestions here.  I'd also recommend a good
>> compiler book (like _Modern Compiler Design in ML_) if you're not
>> familiar with the interesting parts of a compiler (ie, everything
>> after you have an AST).

> For that matter, read the paper on CMUCL's Python compiler.  I forget
> where it's hosted but I wish I had read it prior to ever writing a
> compiler.

Found it.  From http://sbcl-internals.cliki.net/Compiler (another good
resource is the SBCL internals wiki itself):

http://www-2.cs.cmu.edu/~ram/pub/lfp.ps


 
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.
Lars Brinkhoff  
View profile  
 More options Sep 30 2006, 4:49 pm
Newsgroups: comp.lang.lisp
From: Lars Brinkhoff <lars.s...@nocrew.org>
Date: Sat, 30 Sep 2006 22:49:16 +0200
Local: Sat, Sep 30 2006 4:49 pm
Subject: Re: Implementor: what to read?
t...@conquest.OCF.Berkeley.EDU (Thomas F. Burdick) writes:

> I'd also recommend a good compiler book (like _Modern Compiler
> Design in ML_) if you're not familiar with the interesting parts of
> a compiler (ie, everything after you have an AST).

I assume you mean Appel's "Modern Compiler Implementation in ML"?
There's another book called "Modern Compiler Design".

For quite some time, I've been meaning to pick up a few good compiler
books that cover techniques not found in the Dragon book, like SSA.
This might be a good opportunity to ask for recommendations.

Other than the Appel book (which seems to fit my bill well), are there
any other titles I should look into?


 
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.
Thomas Lindgren  
View profile  
 More options Sep 30 2006, 5:22 pm
Newsgroups: comp.lang.lisp
From: Thomas Lindgren <***********@*****.***>
Date: Sat, 30 Sep 2006 21:22:48 GMT
Local: Sat, Sep 30 2006 5:22 pm
Subject: Re: Implementor: what to read?

Lars Brinkhoff <lars.s...@nocrew.org> writes:
> For quite some time, I've been meaning to pick up a few good compiler
> books that cover techniques not found in the Dragon book, like SSA.
> This might be a good opportunity to ask for recommendations.

> Other than the Appel book (which seems to fit my bill well), are there
> any other titles I should look into?

Here are the big books on my shelf:

Muchnik, Advanced Compiler Design & Implementation.
Morgan, Building an Optimizing Compiler.
Cooper & Torczon, Engineering a Compiler.
Ellis, Bulldog: A Compiler for VLIW Architectures.

Have a look at 2nd ed. Dragon Book and Srikant, The Compiler Design
Handbook.  (I haven't got either yet, but they seem worth owning.)

(At this point, one starts to get into the twilight zone of computer
architecture.)

For program analysis:

Nielson et al, Principles of Program Analysis.
Pierce, Types and Programming Languages.
Jones et al, Partial Evaluation and Automatic Program Generation.

Serious discussions of advanced programming languages is a bit
scarce. I liked this one, which concerns ML in particular:

Appel, Compiling with Continuations. (Cf. also his article, "A Runtime
System")

Best,
                        Thomas
--
Thomas Lindgren

"Ever tried. Ever failed. No matter. Try again. Fail again. Fail better."


 
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.
Chris Barts  
View profile  
 More options Oct 1 2006, 2:06 am
Newsgroups: comp.lang.lisp
From: Chris Barts <puonegf+hfr...@tznvy.pbz>
Date: Sun, 01 Oct 2006 00:06:20 -0600
Local: Sun, Oct 1 2006 2:06 am
Subject: Re: Implementor: what to read?

On Sat, 30 Sep 2006 10:43:49 -0400, Yannick Gingras wrote:
> I won't start coding soon but as I do my reading I want to let ideas for my
> small dialect assemble slowly into a coherent structure.  What features
> should a shell scripting oriented dialect have?

Being able to trivially execute other programs and perform I/O redirection
is essential. It is the defining feature of a shell scripting language.

A good FFI is probably not essential, if you can mitigate the loss via my
above point, but it /is/ very very useful.

Minimize typing. It should be possible to construct useful programs in one
line of text (80 column lines or less). Common Lisp fails here, Scheme is
a bit better, but Arc is a clear winner. Or at least what little we've
seen of it so far. Tab completion doesn't count: The point is to make
visually compact programs, not to make it easy to type sesquipedilian[1]
names.

[1]Literally, 'foot and a half long'.

Having strong text support is essential. Being able to handle UTF-8
intelligently is an element of this, and you should choose an
implementation method that helps you here. This may or may not mean
regular expressions, but being able to leverage cl-ppcre will make the
regex path easier if you choose it. There are other ways of parsing
text.[2] Regardless, Lisp's memory management model makes this kind of
thing painless.

[2]I've never seen an EBNF implementation in a shell scripting language,
but it would seem to fit well with the generally recursive model of Lisp.
EBNF is more powerful than regexes are because it can be used to match
arbitrarily nested structures, such as sexps.

--
My address happens to be com (dot) gmail (at) usenet (plus) chbarts,
wardsback and translated.
It's in my header if you need a spoiler.

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----


 
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.
Jamesl  
View profile  
 More options Oct 1 2006, 3:27 am
Newsgroups: comp.lang.lisp
From: "Jamesl" <jl...@iinet.net.au>
Date: 1 Oct 2006 00:27:46 -0700
Local: Sun, Oct 1 2006 3:27 am
Subject: Re: Implementor: what to read?
I suggest having a look here:
http://www.hyperlisp.com

Then going to the links page and reading the books cited on that page.

Rgs, James.


 
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.
Pascal Bourguignon  
View profile  
 More options Oct 1 2006, 11:16 am
Newsgroups: comp.lang.lisp
From: Pascal Bourguignon <p...@informatimago.com>
Date: Sun, 01 Oct 2006 17:16:49 +0200
Local: Sun, Oct 1 2006 11:16 am
Subject: Re: Implementor: what to read?

Chris Barts <puonegf+hfr...@tznvy.pbz> writes:
> Being able to trivially execute other programs and perform I/O redirection
> is essential. It is the defining feature of a shell scripting language.
> [...]
> Minimize typing. It should be possible to construct useful programs in one
> line of text (80 column lines or less). Common Lisp fails here, Scheme is
> a bit better, but Arc is a clear winner. Or at least what little we've
> seen of it so far. Tab completion doesn't count: The point is to make
> visually compact programs, not to make it easy to type sesquipedilian[1]
> names.

This requirement is even older than LISP (when the hardware didn't
allow typing, storing or printing longer names), and doesn't matter at
all for _scripts_.  You might want to keep it for _interactive_ usage,
but not for scripts.

For example, AppleScript is rather verbose.

I write all my scripts in Common Lisp (no problem with the length of
the command names), but indeed, I still don't use routinely CL or scsh
as my login shell.

When the name 'ls' was choosen for the command to list a directory
contents, the time needed to type and echo it thru a 300 bps terminal
was, including the final newline:

send 3 character:     l s CR    = 30 bits, 0.100 second
receive 4 characters: l s CR LF = 40 bits, 0.133 second
total:                                     0.233 second

Nowadays, during this time, you can receive up to 58250 bytes, whole
scripts, on an ADSL 2 Mb/s line, or you can spend about 700,000,000
processor cycles on analysing your speach, or your gestures to infer
the command, on a 3 GHz processor.

--
__Pascal Bourguignon__                     http://www.informatimago.com/

READ THIS BEFORE OPENING PACKAGE: According to certain suggested
versions of the Grand Unified Theory, the primary particles
constituting this product may decay to nothingness within the next
four hundred million years.


 
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.
jshra...@gmail.com  
View profile  
 More options Oct 1 2006, 12:17 pm
Newsgroups: comp.lang.lisp
From: JShra...@gmail.com
Date: 1 Oct 2006 09:17:39 -0700
Local: Sun, Oct 1 2006 12:17 pm
Subject: Re: Implementor: what to read?

Yannick Gingras wrote:
> So imagine that I feel ready to implement a
> Lisp (not CL, something smaller but more than Scheme).  What
> should I read?  I would like my implementation to be both an
> interpreter and a compiler, ideally to native code.

Much as I (and we all, I think) appreciate your enthusiasm, I (speaking
now for myself) would strongly discourage you from implemeting your own
Lisp. The fact that one *can* implement their own Lisp leads many to in
fact do this, and this is a, IMHO, a huge part of what has fragmented
the Lisp community. I suspect that people don't go out and implement
their own Rubys, Perls, Pythons, or C++s; they use the excellent
sanctioned free implementations. Why would you build your own Lisp
instead of throwing your considerable skill and effort behind, for
example, SBCL? In fact, why isn't everyone on this list who has
considerable skill and effort [and who isn't paying for a Lisp] helping
build The One True Open Lisp?

 
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.
Javier  
View profile  
 More options Oct 1 2006, 1:28 pm
Newsgroups: comp.lang.lisp
From: "Javier" <javu...@gmail.com>
Date: 1 Oct 2006 10:28:06 -0700
Local: Sun, Oct 1 2006 1:28 pm
Subject: Re: Implementor: what to read?

I agree and believe that SBCL needs a lot of help in this stage. For
example, I would add a way of loading only one SBCL core for multiple
Lisp applications (now, SBCL wastes more than 30Mb of memory each time
it runs a program), and of course a stable Windows version.

 
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.
Chris Barts  
View profile  
 More options Oct 1 2006, 3:05 pm
Newsgroups: comp.lang.lisp
From: Chris Barts <puonegf+hfr...@tznvy.pbz>
Date: Sun, 01 Oct 2006 13:05:32 -0600
Local: Sun, Oct 1 2006 3:05 pm
Subject: Re: Implementor: what to read?

On Sun, 01 Oct 2006 17:16:49 +0200, Pascal Bourguignon wrote:
> Chris Barts <puonegf+hfr...@tznvy.pbz> writes:
>> Minimize typing. It should be possible to construct useful programs in one
>> line of text (80 column lines or less). Common Lisp fails here, Scheme is
>> a bit better, but Arc is a clear winner. Or at least what little we've
>> seen of it so far. Tab completion doesn't count: The point is to make
>> visually compact programs, not to make it easy to type sesquipedilian[1]
>> names.

> This requirement is even older than LISP (when the hardware didn't
> allow typing, storing or printing longer names), and doesn't matter at
> all for _scripts_.  You might want to keep it for _interactive_ usage,
> but not for scripts.

I still think it's a win to make the interactive language the scripting
language. People in the Bad Old Days, back before the Bourne-like shells
had job control or command-line editing or anything else of note, had to
learn the C shell for interactive work and the Bourne shell for scripting,
because the C shell has never had a real syntax. (That is, it's always
been a buggy unportable ad-hoc mess.)

This is stupid because... well, this is a Lisp group. Do I really need to
enthuse about the REPL here? ;)

> For example, AppleScript is rather verbose.

I don't know if there was ever an AppleScript REPL.

> I write all my scripts in Common Lisp (no problem with the length of
> the command names), but indeed, I still don't use routinely CL or scsh
> as my login shell.

Which means both the CL standard library and the majority of your CL
functions (those not embedded in freestanding programs)[1] are unavailable
to you in the command line.

[1]Yes, that's an assumption. You could make a new program for every
function you create. ;)

> Nowadays, during this time, you can receive up to 58250 bytes, whole
> scripts, on an ADSL 2 Mb/s line, or you can spend about 700,000,000
> processor cycles on analysing your speach, or your gestures to infer
> the command, on a 3 GHz processor.

Or not, and spend those cycles doing what you bought the machine to do.

--
My address happens to be com (dot) gmail (at) usenet (plus) chbarts,
wardsback and translated.
It's in my header if you need a spoiler.

----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----


 
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.
jshra...@gmail.com  
View profile  
 More options Oct 1 2006, 3:18 pm
Newsgroups: comp.lang.lisp
From: JShra...@gmail.com
Date: 1 Oct 2006 12:18:23 -0700
Local: Sun, Oct 1 2006 3:18 pm
Subject: Re: Implementor: what to read?
Just to be clear: I'm not pushing SBCL -- I don't have a leaning for
one free lisp v. another. My point is just that one shouldn't be
implementing new lisps -- one should be working with the community to
provide a single agreed implementation, or else one should be paying
others (whether Franz or the Open Lisp group). I personally pay Franz
at the moment, but I'd be happy as well to help financially support a
free lisp project if there was some agreement by the community on which
one we were going to support, and if everyone would just get behind
that one!

I wish that there was just one


 
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.
Pascal Bourguignon  
View profile  
 More options Oct 1 2006, 5:21 pm
Newsgroups: comp.lang.lisp
From: Pascal Bourguignon <p...@informatimago.com>
Date: Sun, 01 Oct 2006 23:21:43 +0200
Local: Sun, Oct 1 2006 5:21 pm
Subject: Re: Implementor: what to read?

JShra...@gmail.com writes:
> Just to be clear: I'm not pushing SBCL -- I don't have a leaning for
> one free lisp v. another. My point is just that one shouldn't be
> implementing new lisps -- one should be working with the community to
> provide a single agreed implementation, or else one should be paying
> others (whether Franz or the Open Lisp group). I personally pay Franz
> at the moment, but I'd be happy as well to help financially support a
> free lisp project if there was some agreement by the community on which
> one we were going to support, and if everyone would just get behind
> that one!

I disagree.  Currently, perhaps some implementations like gcl or ecl
may need more work (to increase conformance), but I don't think
there's too many of them.  On the contrary, I think we'd need more
different implementations, targetted at different kind of usage.

We'd need one implementation that is easily portable to any random
architecture.  We'd need an implementations good for PDA. One for
other embedded devices.  We'd need an implementation for development,
with better debugger and better analysis tools.  Etc.

It's possible that some layer be common to several of these
implementations, like the "library" layer, or the "extensions" layer.
But it would still be nice to have _more_ different implementations.

The wost case might be cmucl vs. sbcl.  But even with this close fork,
cmucl and sbcl are still differentiated enough.

> I wish that there was just one

I wish there was ever more different implementations.

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
----------> http://www.netmeister.org/news/learn2quote.html <-----------
---> http://homepage.ntlworld.com/g.mccaughan/g/remarks/uquote.html <---

__Pascal Bourguignon__                     http://www.informatimago.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.
MarkHaniford@gmail.com  
View profile  
 More options Oct 2 2006, 2:19 am
Newsgroups: comp.lang.lisp
From: "MarkHanif...@gmail.com" <MarkHanif...@gmail.com>
Date: 1 Oct 2006 23:19:58 -0700
Local: Mon, Oct 2 2006 2:19 am
Subject: Re: Implementor: what to read?
I think it's realistic to get behind SBCL "as the one".   It's fast,
doesn't have licensing issues, getting there with all the major
platforms, and I believe 0.9.17 is tentatively being called a 1.0 beta.


 
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.
Juho Snellman  
View profile  
 More options Oct 2 2006, 8:56 am
Newsgroups: comp.lang.lisp
From: Juho Snellman <jsn...@iki.fi>
Date: 2 Oct 2006 12:56:31 GMT
Local: Mon, Oct 2 2006 8:56 am
Subject: Re: Implementor: what to read?

Javier <javu...@gmail.com> wrote:
> I agree and believe that SBCL needs a lot of help in this stage. For
> example, I would add a way of loading only one SBCL core for multiple
> Lisp applications (now, SBCL wastes more than 30Mb of memory each time
> it runs a program)

It doesn't. The core file is already mapped as private copy-on-write
memory on most operating systems, so any pages that are only read are
shared between processes.

Also, the RSS of a fresh SBCL process on x86/Linux is only about 5MB.
Even the silly little applets in my Gnome panel are using twice
that...

--
Juho Snellman


 
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.
Arto Bendiken  
View profile  
 More options Oct 2 2006, 2:40 pm
Newsgroups: comp.lang.lisp
From: "Arto Bendiken" <arto.bendi...@gmail.com>
Date: 2 Oct 2006 11:40:37 -0700
Local: Mon, Oct 2 2006 2:40 pm
Subject: Re: Implementor: what to read?

Yannick Gingras wrote:
> Hi, there seem to be a lot of implementor users out there.  I
> tried to download the source code for a few CL implementations
> but I definitely don't know enough to study how it works with
> just the source.  So imagine that I feel ready to implement a
> Lisp (not CL, something smaller but more than Scheme).  What
> should I read?  I would like my implementation to be both an
> interpreter and a compiler, ideally to native code.

While you're awaiting your copy of the aforementioned Lisp in Small
Pieces (http://www-spi.lip6.fr/~queinnec/WWW/LiSP.html), there are some
excellent online resources you can peruse:

The Original 'Lambda Papers' by Guy Steele and Gerald Sussman
http://library.readscheme.org/page1.html

The 90 Minute Scheme to C compiler by Marc Feeley (with video)
http://www.iro.umontreal.ca/~boucherd/mslug/meetings/20041020/minutes...

An Incremental Approach to Compiler Construction by Abdulaziz Ghuloum
http://lambda-the-ultimate.org/node/1752
http://scheme2006.cs.uchicago.edu/
http://www.cs.indiana.edu/~aghuloum/

--
Arto Bendiken | arto.bendi...@gmail.com | http://bendiken.net/


 
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.
Juanjo  
View profile  
 More options Oct 3 2006, 9:04 am
Newsgroups: comp.lang.lisp
From: "Juanjo" <juanjose.garciarip...@googlemail.com>
Date: 3 Oct 2006 06:04:49 -0700
Local: Tues, Oct 3 2006 9:04 am
Subject: Re: Implementor: what to read?

Pascal Bourguignon schrieb:

> We'd need one implementation that is easily portable to any random
> architecture.

ECL has not yet failed to be ported to any architecture where Gnu MP
works. It is 64-bit and endian clean. I agree that...

> We'd need an implementations good for PDA. One for
> other embedded devices.

... in memory constrained environments it could do better, but I do not
see why it could not run on a PDA -- of course you would probably need
cross compilation, but ECL can be cross-compiled.

> We'd need an implementation for development,
> with better debugger and better analysis tools.  Etc.

This is definitely doable, but I do not see why you need an specific
implementation for that. All implementations should converge to a
degree where they offer the best code analysis tools they can. This
does not interfere with other goals, does it?

Juanjo


 
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 28   Newer >
« Back to Discussions « Newer topic     Older topic »