On Wed, Sep 04, 2002 at 10:46:24PM -0400, Ken Fox wrote:
> What is really needed is something that converts the date syntax
> to normal Perl code:
> 
>    rule iso_date { (<Perl.term>) -
>                    (<Perl.term>) -
>                    (<Perl.term>)
>                    { use grammar Perl::AbstractSyntax;
>                      $0 := (expr (invoke 'new (class 'Date) $1 $2 $3))) }

I'm confused. Why has that last line got a lisp expression for the spliced
in code?

Nicholas Clark

Reply via email to