On Tuesday 08 May 2007 01:40:09 pm David Nicol wrote: > On 5/8/07, Vadim <[EMAIL PROTECTED]> wrote: > > no, it uses CFFI, so this should cover every implementation supporting > > that. > > Ever since reading "Hackers and Painters" > http://www.amazon.com/exec/obidos/ISBN=0596006624/tipjartransactioA > I've been defending "Perl is a LISP!" (which is actually quite easy, > because nobody knows what I'm talking about) > > Are there a lot of libraries and things written to CFFI? Perl could > provide a CFFI interface, that would strengthen the "perl is a lisp" meme.
I think the LISP folks would like to use CPAN, not the other way around.
As for Perl being a LISP... Perl is missing macros (unless you count opgrep
and B::Generate) and continuations. Lisp is also dynamically typed
(originally), which you can admittedly emulate in Perl, i.e.
(let ((mk-adder (lambda (x) (lambda (y) (+ x y)))) ... )
is
our $x;
sub mk_adder { return sub { my $y = shift; $x + $y } }
...
but much cleaner (in Perl-land) as:
sub mk_adder { my $x = shift; return sub { my $y = shift; $x + $y } }
Incidentally, emacs lisp is dynamically typed, but scheme isn't. Confused? I
am. :)
... wow, this is offtopic now.
Regards,
Jonathan Rockway
--
package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do {
$,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //,
";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
pgplQRObWB40O.pgp
Description: PGP signature
