The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Fri, 20 Feb 2004 09:42:04 +0100
Local: Fri, Feb 20 2004 3:42 am
Subject: Re: Loading bytecode at runtime
Dan Sugalski <d...@sidhe.org> wrote: Started that now: > Okay, since folks are diving into IMCC (assuming we can keep a fight > from breaking out) it's time to address bytecode loading. > We've got the need to have subs that get executed when a code segment > is loaded, a need to have a 'main' sub that gets executed as mainline > code, and subs that get executed after compilation but before run. > So, since I *hate* magic name subs, what I want to do is add tags to > subs to indicate what they should do. So, these tags are what I want, > to be added to the .pcc_sub line: > MAIN > IMMEDIATE > LOAD > POSTCOMP The syntax (proposed and current) is for PASM: .pcc_sub @MAIN _main: and for PIR: .sub _main prototyped, @MAIN, @IMMEDIATE, @LOAD, @POSTCOMP albeit it doesn't make much sense, to through all possible pragmas at All these specifiers are optional. I did choose the '@' prefix because of possible name collisions with Next will be @LOAD and possibly @MAIN functionality. leo You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||