|
Re: Q: newsub opcodes: msg#00634lang.perl.perl6.internals
At 10:17 PM +0200 10/29/04, Leopold Toetsch wrote: Dan Sugalski wrote: For now I'm fine with restricting it to sub PMCs and opening it up to more later. :) [ integer constants ] Right, and I don't think it's a good idea to switch out from what we have now. For integer constants I think we ought to have an explicit op for fetching them: getconstant Ix, Iconstantnumber or something like that. We can have a corresponding setconstant op for constants that... aren't. And for code to set up the constant table in the first place.
I have, and no. (though we can toss all the two-constant I, S, and N forms) We leave things as-is. When we run up to our 1.0 release we can run some analysis on the different compilers to see what ops aren't being used and pare out the list at that point And yeah, this imples that our constant table isn't necesasrily constant. I'm OK with that, though. :) :) Works for me. I want to revisit packfile formats and whatnot again soon anyway -- I want us to start adding in source line number & source lines to the packfiles and have it available as we run so we can start throwing more informative error messages and making the debugger more useful. -- Dan --------------------------------------it's like this------------------- Dan Sugalski even samurai dan@xxxxxxxxx have teddy bears and even teddy bears get drunk |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Q: newsub opcodes: 00634, Leopold Toetsch |
|---|---|
| Next by Date: | Re: Mostly a Perl task for the interested: 00634, Nicholas Clark |
| Previous by Thread: | Re: Q: newsub opcodesi: 00634, Leopold Toetsch |
| Next by Thread: | Re: Q: newsub opcodes: 00634, Brent 'Dax' Royal-Gordon |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |