Jonathan Rockway wrote:

>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.
>  
>
This is two-fold situation.
The opposite of what you said is true - the purpose of my module is to
gain access to numerous LISP packages (maxima, etc) from Perl.
I don't like socket approach, I like inter-language operations.

But what you said is also true.
I will be using the module to bring the power to my LISP programs also,
something like

(perl5re string "([\d.]+)")
to extract all the numbers from string.

Yet I like the combination of Perl+Lisp+Tcl/Tk thus providing rich GUI,
rich mathematical packages, rich CPAN.

>As for Perl being a LISP... Perl is missing macros (unless you count opgrep 
>  
>

I consider eval "$string" as a replacement of macros.

>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.
>  
>

It's everywhere offtopic :) because this is all new unfortunately (it
was surprise to me to find only toy LISP implementations on CPAN, and no
real Lisp connectors).
I wonder whether there will be enough followers, so for it to create
Perl+Lisp mailing list...

Thank you for your ideas, BTW.

Best regards,
Vadim.

Reply via email to