예제 #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();
        }