At 12:49 PM -0400 10/13/04, Aaron Sherman wrote:
On Wed, 2004-10-13 at 12:10, Matt Diephouse wrote:
 I'm still working on a new Forth implementation...

 Forth has a word `key` that gets one character from stdin. It
 shouldn't wait for a newline to get the character. Is there any way to
 implement this currently in PIR?

You can't do this in a standard, portable way in C, so I doubt that PIR has such a mechanism.

Hell, you can't do useful IO in a portable way period. Which is why we're not going to. :-P


Parrot wedges code between the system and the interpreter to provide a portable async IO layer, or at least we will once that gets done.
--
Dan


--------------------------------------it's like this-------------------
Dan Sugalski                          even samurai
[EMAIL PROTECTED]                         have teddy bears and even
                                      teddy bears get drunk

Reply via email to