Re: multiple languages clarification - newbie

2004-09-11 Thread Thomas Fjellstrom
On September 8, 2004 04:34 pm, Dan Sugalski wrote: > At 11:02 PM +0100 9/8/04, Richard Jolly wrote: > >Hi, > > > > > > > >Can someone provide clarification on what mixing languages will look > >like in practice, or point me to where its explained? > > It's not explained anywhere. Besides, it's synt

Re: Namespaces

2004-09-11 Thread Thomas Fjellstrom
On September 7, 2004 09:15 am, Leopold Toetsch wrote: > Dan Sugalski <[EMAIL PROTECTED]> wrote: > > *) Namespaces are hierarchical > > What do we do against collisions? During Pie-thon hacking I came along > this problem: > > class C(): > pass > > c = C() > > "C" ought to be now a "global" c

Re: Buffered IO and Parrot Forth

2004-09-11 Thread Leopold Toetsch
Matt Diephouse wrote: Somewhere, the prompt for the interpreter ("> ") started getting buffered. Yep. Last time this came up, I summarized: There are several ways to adapt the code to the new behavior: 1) pop off the buffered I/O layer: getstdout Px Sx = pop Px# Sx = 'buf' 2) explici

Re: Namespaces

2004-09-11 Thread Leopold Toetsch
Thomas Fjellstrom wrote: On September 7, 2004 09:15 am, Leopold Toetsch wrote: What do we do against collisions? During Pie-thon hacking I came along this problem: Or similiar: .namespace ["foo" ; "bar" ] prohibits any "foo" global in the top-level namespace. leo While thinking about this very