Parrot: Why the clunky syntax?

Greg Ewing greg.ewing at compaq.com
Mon Aug 30 05:49:39 CEST 1999


Instead of a syntax like

  window @MyWindow "My First Window" {
       menuBar {
          menu "File" {
             menuItem @New "New"
          }
  }

why not something more Python-inspired, e.g.

  window MyWindow("My First Window"):
    menubar:
      menu File:
        menuitem New

After all, we like Python because it does without
line noise like @{} -- don't we?

Greg




More information about the Python-list mailing list