示例#1
0
文件: Runtime.cs 项目: Lopla/Language
        public void AddError(RuntimeError e)
        {
            var stackName = $"{_processors?.Get()?.RootStackName()}";

            e.Text = $"{stackName}\t{e.Text}";

            AddError((Error)e);
        }
示例#2
0
文件: Runtime.cs 项目: Lopla/Language
        public void Evaluate(Compilation binary)
        {
            StartRootScope(binary);
            var result = _processors.Get().Evaluate(binary, this);

            EndRootScope();
        }