in reply to C compiler ... in Perl

oh, wow. that _is_ sick and twisted ;-)
--
Tommy Butler, a.k.a. TOMMY

Replies are listed 'Best First'.
Re: C compiler ... in Perl
by jonadab (Parson) on Jan 07, 2004 at 05:18 UTC

    No, sick and twisted would be if he wanted to implement a C interpreter in Unlambda or PostScript. Implementing it in Perl is actually fairly sensible.


    $;=sub{$/};@;=map{my($a,$b)=($_,$;);$;=sub{$a.$b->()}} split//,".rekcah lreP rehtona tsuJ";$\=$ ;->();print$/

      (Maybe someone should translate TeX to PostScript, then you could just send TeX input to a PostScript printer, and it would do all the work of typesetting.)