After Parrot, what next?

Ben Wolfson wolfson at uchicago.edu
Tue Apr 10 00:26:16 EDT 2001


In article <3ad2724b$1 at news.iprimus.com.au>, "Andrew Hamm"
<ahamm at sanderson.net.au> wrote:

> Roy Smith wrote in message ...
>>A bunch of us were discussing the new Parrot syntax (i.e things like
>>"left_angle_bracket_right_angle_bracket") today and came up with a great
>>idea for a new language syntax, which mixes the best ideas of Parrot and
>>XML.  Instead of:
>>
> Noooooooooooooooo!!!!!!
> 
> Why make life harder for people just to make life easier for parsers?
> Can you imagine how dizzying a couple of pages of that would be? It
> looks bulkier than COBOL to boot. Have you used Lisp in a previous
> incarnation? --
> "Having fun is half the fun" - Guru Adrian No matter what happens,
> somebody will find a way to take it way too seriously - Micheal Tod
> (wishes he said this)
 
What's really coming after Parrot:  (the following runs just fine, btw):

import rearrangeabuse

(Def, 'main', (Lambda, args, (Begin, (SetGet, 'write', (Getattr,
 (Getattr, 'sys', 'stdout'), 'write')), (Lambda, (Def, 'printer',
 (Lambda, i, (Begin, (LCall, 'write', (Getitem, (Get, 'args'),
(Get, 'i'))),
  (Print, ''), (LCall, 'printer', (LCall, (Lambda, x, ('+', x, 1)),
 (Get, 'i'))))))), (Print, 'cmdline args:'), (Try_Else_Except,
(LCall, 'printer', 0), Lnone, (Tuple, IndexError, (Lambda, info,
                    None))))))

(Immediate, (Import, 'sys'))

(If, __name__=='__main__',
 (Call, 'main', (Getattr, 'sys', 'argv')))

Tons o' debugging fun!

-- 
Barnabas T. Rumjuggler
The women come and go,
Speaking of the Regis Philbin Show
 -- Joe Frank



More information about the Python-list mailing list