YARV bytecode switch loop

Hello,

I am somewhat new at this and a bit of a neophyte. I am wondering
where I would find the main YARV bytecode interpreter loop that
processes the bytecodes for YARV.

Regards,

Carter.

You should be able to find it from main.c when looking at the source.

Kind regards

robert

···

On Tue, Mar 29, 2011 at 3:47 AM, Carter Cheng <cartercheng@gmail.com> wrote:

I am somewhat new at this and a bit of a neophyte. I am wondering
where I would find the main YARV bytecode interpreter loop that
processes the bytecodes for YARV.

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Hi,

You can check vm_exec.c then vm.inc or insns.def.

              matz.

···

In message "Re: YARV bytecode switch loop" on Tue, 29 Mar 2011 19:01:04 +0900, Robert Klemme <shortcutter@googlemail.com> writes:

On Tue, Mar 29, 2011 at 3:47 AM, Carter Cheng <cartercheng@gmail.com> wrote:

I am somewhat new at this and a bit of a neophyte. I am wondering
where I would find the main YARV bytecode interpreter loop that
processes the bytecodes for YARV.

You should be able to find it from main.c when looking at the source.

Kind regards

robert

Thanks Robert.

···

On Tue, Mar 29, 2011 at 6:01 AM, Robert Klemme <shortcutter@googlemail.com> wrote:

On Tue, Mar 29, 2011 at 3:47 AM, Carter Cheng <cartercheng@gmail.com> wrote:

I am somewhat new at this and a bit of a neophyte. I am wondering
where I would find the main YARV bytecode interpreter loop that
processes the bytecodes for YARV.

You should be able to find it from main.c when looking at the source.

Kind regards

robert

--
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/

Thanks Matz.

···

On Tue, Mar 29, 2011 at 6:51 PM, Yukihiro Matsumoto <matz@ruby-lang.org> wrote:

Hi,

You can check vm_exec.c then vm.inc or insns.def.

                                                   matz\.

In message "Re: YARV bytecode switch loop" > on Tue, 29 Mar 2011 19:01:04 +0900, Robert Klemme <shortcutter@googlemail.com> writes:
>
>On Tue, Mar 29, 2011 at 3:47 AM, Carter Cheng <cartercheng@gmail.com> wrote:
>> I am somewhat new at this and a bit of a neophyte. I am wondering
>> where I would find the main YARV bytecode interpreter loop that
>> processes the bytecodes for YARV.
>
>You should be able to find it from main.c when looking at the source.
>
>Kind regards
>
>robert