From: Slaven Rezic Date: 2002-11-06T17:44:43+09:00 Subject: Re: A vision for Parrot Benjamin Goldberg writes: > Frodo Morris wrote: > > > > Benjamin Goldberg wrote: > > > Frodo Morris wrote: [...] > > > Why not leave it running, so that any Perl/Python/Tcl/Ruby/Java/sh/ > > BASIC/whatever code can get to it immediately? > > Ignoring the problem of compiling those languages down to parrot > bytecode... > > How should the kernel detect that a parrot-bytecode file is, in fact, > parrot bytecode? > > For normal exe files, there's the execute bit and some standard headers. > For normal scripts, there's the execute bit and the #! line. At least on *BSD, /sys/kern/imgact_*.c control which executable types are allowed. There are imgact_aout.c, imgact_elf.c, imgact_gzip.c and imgact_shell.c, and maybe one could add an imgact_parrot.c? Regards, Slaven -- Slaven Rezic - slaven.rezic@berlin.de Berlin Perl Mongers - http://berliner.pm.org