示例#1
0
        /// <summary>
        /// Processes a file.
        /// </summary>
        /// <returns>The file.</returns>
        /// <param name="fileName">File name.</param>
        public Value EvaluateFile(string fileName)
        {
            var sexpr = new SExprValue();

            sexpr.Cell.Add(new BuiltinFuncValue(Builtins.Load));
            sexpr.Cell.Add(StringValue.ReadEscapedString(fileName));
            return(Evaluate(sexpr));
        }