Re: Global namespace (was Re: python libs v lisp coolness?

From: Kaz Kylheku (kaz_at_ashi.footprints.net)
Date: 10/30/03


Date: 30 Oct 2003 01:11:07 -0800

Ville Vainio <ville.spammehardvainio@spamtut.fi> wrote in message news:<du77k2nn8g6.fsf@mozart.cc.tut.fi>...
> Christophe Rhodes <csr21@cam.ac.uk> writes:
>
> > Knowing no python, I believe the Common Lisp equivalent of this is
> > (cl:defpackage "MY-APP" (:use "CL"))
> > (cl:in-package "MY-APP")
> >
> > (os:listdir "/root")
>
> Any way to do this in emacs lisp?

Emacs Lisp is very limited dialect of Lisp used to develop and extend
a single application into which it is embedded. Never mind packages,
it has no lexical scope, object system or conditions. It's best
discussed in Emacs-related newsgroups, not comp.lang.lisp, where the
focus is the most prominent Lisp dialect known as ANSI Common Lisp.



Relevant Pages

  • Re: Survey: Do you use the "2" in Lisp-2?
    ... Why You should Not Use The Jargon Lisp1 and Lisp2 ... Graham's On Lisp, I'm wondering what the advantages of a Lisp-2 ... For another example, consider today's PHP language. ... Now, the question is, why do Lisps before Common Lisp have this multi- ...
    (comp.lang.lisp)
  • Re: Program compression
    ... problems to be solved much more concisely than with Lisp. ... In Common Lisp, it's another one line of code: ... My point is that different languages are based on different things ... it would be impossible for the author of a macro (in the Lisp ...
    (comp.programming)
  • Re: Program compression
    ... In Common Lisp it's just one line of code: ... In OCaml with OCaml's notation: ... In Common Lisp, it's another one line of code: ... Consider parsing Mathematica expressions including lists, rules, sums, ...
    (comp.programming)
  • Re: Lisp indenting tool
    ... How do you try to learn Lisp? ... do is Emacs customization using Emacs Lisp, ... Common Lisp will only puzzle you. ... these lisps shares a uniform syntax, so a lexical parser can solve the ...
    (comp.lang.lisp)
  • Re: How Common Lisp sucks
    ... Note that the title of this post is *HOW* CL sucks, ... I would like to embed a language that is very similar to Common Lisp, but which differs in how it handles global variable references and arguments) syntax. ... And if it were done it would result in strictly greater expressive power. ...
    (comp.lang.lisp)