2 ms·
On CPAN there is a small Perl Lisp interpreter: http://search.cpan.org/dist/perl-lisp/ http://search.cpan.org/dist/perl-lisp/ It seems to have be written for t
by draegtun 16y ago
On CPAN there is a small Perl Lisp interpreter: http://search.cpan.org/dist/perl-lisp/ http://search.cpan.org/dist/perl-lisp/
It seems to have be written for the express purpose of parsing Gnu newsreader 'eld' files! (example here: http://cpansearch.perl.org/src/GAAS/perl-lisp-0.06/newsrc.eld http://cpansearch.perl.org/src/GAAS/perl-lisp-0.06/newsrc.el...).
Here is a more general Lisp example in the distribution:
(defun sum (a b &optional c)
(write a b c)
(+ a b))
(setq a 100)
(setq b (sum 4 5))
(write (print (list a b)))
(write (ord "a"))
(write (chr ?a))
(write "Yesterday was:" (localtime (- (time) (* 24 60 60))))
(setq pid (perl-eval "$$"))
(setq a 10)
(while (not (zerop a))
(write a)
(setq a (1- a)))
(list "Good bye")