Re: Symbol clashes: how to avoid them. Part 2
- From: budden <budden01@xxxxxxxxxx>
- Date: Fri, 31 Oct 2008 13:13:42 -0700 (PDT)
I don't know. Sometimes it seems that lisp still can be useful as an
end-user language it we fix at least the most ugly things. Readmacros
might confuse SLIME and lisp-mode. Now I have EMACS sources installed,
maybe all this can be fixed. Dots are fine, but CLOS is too
flexible... Using dots require a restrictions upon naming. Can be used
in my own (non-shared) code, but not in a team work.
One possible (and elegant) way to fix all this would to change dot to
colon. E.g.
a:b:c instead of a.b.c. This way, would be package~=class. But now we
get to the topic of current discussion - insufficient convinience of
package system. And there is package=file convention. So,again there
would be difficulties with SLIME for sub-packages (e.g. subpackages
would be useful for enums or private properties).
Anyway, implementing any cosmetic changes to lisp will make me lonely.
Lispers think lisp is ok, others don't want to learn setf, progn,
destructuring-bind, multiple-value-bind etc. Who will use that
language? Where is PLisp and other like effors? Nowhere.
On the other hand, any C-like language can be parsed to AST rather
easily (well, not C, but Java can, don't know about javaScript). It is
easy to add quasiquoting: just
DEFMACRO( foo (symbol) { quasiquote( { a = unqote(symbol); } ) }
Javascript is almost a lisp itself, it has &key parameters, closures
and all that.
So everything is very straightforward. AST can be presented in some
easily manageable form too (especially in garbage-collecting
languages). This language would be much more popular, especially if it
is made on powerful dynamic lisp platform.
.
- References:
- Re: Symbol clashes: how to avoid them. Part 2
- From: Lars Rune Nøstdal
- Re: Symbol clashes: how to avoid them. Part 2
- From: budden
- Re: Symbol clashes: how to avoid them. Part 2
- From: Sacha
- Re: Symbol clashes: how to avoid them. Part 2
- Prev by Date: Re: How to Get Started?
- Next by Date: Re: Symbol clashes: how to avoid them. Part 2
- Previous by thread: Re: Symbol clashes: how to avoid them. Part 2
- Next by thread: Re: Symbol clashes: how to avoid them. Part 2
- Index(es):
Relevant Pages
|