Parrot

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

Parrot was a hoax introduced in an article from the Perl journal in April 2001. The authors of Perl and Python were supposedly going to merge their languages. O'Reilly even went so far as to create a web page for their Programming Parrot in a Nutshell book! (O'Reilly went on to explain the work that went into the hoax.)

Ironically, this engendered the name for a register-based virtual machine intended for dynamic scripting languages such as Perl.

Example

# copy stdin to stdout, except for lines starting with #
while left_angle_right_angle:
       if dollar_underscore[0] =eq= "#":
               continue_next;
       }
       print dollar_underscore;
}