A vision for Parrot
Slaven Rezic
slaven.rezic at berlin.de
Fri Nov 8 04:53:14 EST 2002
Benjamin Goldberg <goldbb2 at earthlink.net> writes:
> Walter Roberson wrote:
> >
[...]
> > Speaking of layers: I take it that some thought has been put into
> > how to do operating-system escapes? So that one can (for example)
> > handle graphics? Or even just sockets? Seeing as some of the most
> > popular interpreted languages are by no means restricted to text-only
> > and have networking capabilities?
>
> Remember, the parrot interpreter is written in C... it has to be.
> Obviously, one would have parrot opcodes which result in calls to C
> functions, which perform socket operations or graphics or whatever.
>
I dont't think it will be opcodes, but rather a combination of loadlib
(load a DLL) and dlfunc (create a parrot-callable subroutine from a
DLL function). See core.ops.
Regards,
Slaven
--
Slaven Rezic - slaven.rezic at berlin.de
Visualize Makefiles with GraphViz:
http://user.cs.tu-berlin.de/~eserte/src/perl/GraphViz-Makefile/
More information about the Python-list
mailing list