[Zope] Parrot Language a Hoax?
Casey Duncan
cduncan@kaivo.com
Mon, 02 Apr 2001 16:35:29 -0600
"Michael R. Bernstein" wrote:
>
> Jonathan Byron wrote:
> >
> > The date of the press release on the merger of python and perl have made a
> > few people wonder just how serious it is, not to mention the fact that the
> > two languages are so dissimilar that merging them is like merging English
> > and Chinese.
>
> I am trying to find a polite way to say 'Duh!'.
>
> This idea is so improbable, that not even the page on
> O'Reilly's site could make me blink:
> http://www.oreilly.com/parrot/
>
> I mean, look at this code:
>
> # copy stdin to stdout, except for lines starting with #
> while left_angle_right_angle:
> if dollar_underscore[0] =eq= "#":
> continue_next;
> }
> print dollar_underscore;
> }
>
> Or this one:
>
> while(@line = Sys::Stdin->readline()):
> continue_next if $line[0] =eq= "#":
> print @line;
> }
>
> Bleh!
>
> Michael Bernstein.
>
Wow, a language with both explicit and implicit block delimiting! Truely
an idea whose time has come! I especially like starting a block with ":"
and ending it with "}". Also, putting one line conditional code before
the conditional statement is pure brilliance.
I think I will rewrite Zope in Parrot. While I'm at it I think I'll add
VBScript support server-side along with Frontpage Bots support. I'm
thinking that using Bots could even make DTML obsolete! I will also add
a few more frames to the management interface and use Active X form
elements. I'll release it under the GPL of course!
Just think of the possibilities!
--
| Casey Duncan
| Kaivo, Inc.
| cduncan@kaivo.com
`------------------>