private void BodyLoaded(HtmlDocument doc)
        {
            outputSheet = new OutputSheet(doc);
            interpreter = new Interpreter(outputSheet);

            input.KeyPress += (sender, e) => {
                if (e.KeyChar == 13) {
                    OnEnter();
                    e.Handled = true;
                }
            };

            input.Focus();
        }
 public Interpreter(OutputSheet outputSheet)
 {
     this.outputSheet = outputSheet;
     this.functionSet = new FunctionSet(outputSheet);
     this.functionsType = functionSet.GetType();
 }
 public FunctionSet(OutputSheet outputSheet)
 {
     this.os = outputSheet;
     trace(1);
 }