view Jint.Runtime/VM/Machine.cs @ 6:a6329b092499

Added scopes, function builder
author cin
date Wed, 30 Oct 2013 17:38:35 +0400
parents aced2ae9957f
children
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);
        }
    }
}