Re: Minimal keywords needed for constructing a full CL system



Don Geddis wrote:
"Javier" <javuchi@xxxxxxxxx> wrote on 4 Jul 2006 09:53:
I'm actually not asking for "whose minimal set is better", but instead
"whose minimal set is NECESARY".

So, why isn't just LAMBDA, as has been suggested to you, the answer to your
question?

It is not really the minimum set since it does no I/O, as I mentioned
earlier.
So unless your prepared to speculate about implementing the whole
universe using lambda then you need a least one input and one output
operation.

Also I don't think you can really "build up" from Lambda. You could
implement a lisp compiler entirely with it and one input and output
operation. But you couldn't build an implementation that was built on
only lambda, you need some form of quoting and expansion of
expressions, as far as I can see.

The goal here is not for real world, in wich performance and
optimization is a must. I'm just talking in a theorical situation.

So, you don't care about performance.

Then you only need LAMBDA. Are you now satisfied with the answer?

If not, why not? Perhaps you have concerns that go beyond just the
THEORETICAL NECESSARY MINIMAL SET that you're claiming.

I don't think the OP really want that (even though that's what he
said). I think what the OP is looking for is the smallest set that
meets some very limited criteria of practicality. That was the sense I
answered the question in anyway.

Javier, is that correct?


It is interesting when learning lisp to understand what can be done in
the lisp layer. I remember when I learnt Emacs being impressed by the
number of things that seemed quite fundamental that were done in Lisp,
such as backticks. I found later that, Emacs isn't actually a great
example. I remember thinking later just how few operations would
actually be necessary in order to build up the rest. Whether there is
any real use in finding this "minimum set" is another matter. I can
certainly see uses for implementors in finding a practical
just-less-than minimum set they can use to build from.

.



Relevant Pages

  • Re: quote semantics
    ... with some useful work on Lisp libraries, if you fall that way GTF ... ask for that one, too, whether it was all that related to the Lambda ... And certainly CL took influence from Scheme, ... claim that this community, which is entirely composed of people who, ...
    (comp.lang.lisp)
  • Re: reading file to list
    ... Common Lisp is the other way around. ... that many old emacs users, which includes significant portion of emacs ... 2 fundamental problems of lisp i feel this ruby ... The way the above works is that each of f, g, h is a lambda themselves ...
    (comp.lang.python)
  • Re: What is the main advantage of macros over functions?
    ... if one is allergic to reading Lambda one may better not use ... Lisp authors, doesn't help you much, I'd say. ... >> Readmacros are a completely different mechanism. ... Macros and Readmacros ...
    (comp.lang.lisp)
  • Re: Hacking CL into a Lisp-1 (an intro to code-walking)
    ... function name to refer to a function you can also use a lambda ... Extended function designators ... As a Lisp pedagog you can't count on your students cutting Lisp ... Minor glitches and oddities, ...
    (comp.lang.lisp)
  • Lambda Quine (and the Lisp it rode in on)
    ... know one thing about Lisp: that it uses lots of parens. ... it's got "some weird funky lambda thing". ... So I decided to implement a quine ... CLtL1 NIL T NIL T * ...
    (comp.lang.lisp)