public bool LoadString(string str) { var t = new Tokenizer(str); var p = new Parser(t); var v = new Variable(); if (p.Parse(v)) return true; v.prepare(env); v["print"] = new Variable(print); env.Set(v); return false; }
public Parser(Tokenizer x) { t = x; }