Re: How to add new ops?

2001-12-19 Thread Marcus Petersson
On Tue, 18 Dec 2001, Simon Cozens wrote: > I anticipated this question so well that you'll find the answer in > the middle of docs/intro.pod :) Ah, now I see. Good stuff. I'll have to take a deeper look at this. Maybe some of my other questions will find their answers there. Marcus --

Re: How to add new ops?

2001-12-19 Thread Marcus Petersson
Oops, three replies. Is it ok if I only reply to one? :-) On Tue, 18 Dec 2001, Dan Sugalski wrote: > Hmmm. For the moment throw them into core.ops in a local copy. I'll work up > a protocol for adding ops files over the next day or so and document it. Yeah, that'd be good. Putting them in core

How to add new ops?

2001-12-18 Thread Marcus Petersson
Hi, I wonder if it's possible to add your own custom opcodes yet. What I have in mind are ops for about 10 external functions. AFAIK, there are at least four things that need to be added: 1. The bytecode format need codes for the new ops. 2. The assembler format need names for the new ops. 3.