view Jint.Runtime/VM/Machine.cs @ 5:cb13da6e3349

simple loop test
author cin
date Mon, 28 Oct 2013 00:49:15 +0400
parents aced2ae9957f
children a6329b092499
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jint.Runtime.VM {
    class Machine {
        Frame m_frame;

        public void Run(IInstruction prog) {
            while (prog != null)
                prog = prog.Invoke(m_frame);
        }
    }
}