Package tp :: Package client :: Package pyscheme :: Module scheme :: Class AnalyzingInterpreter
[show private | hide private]
[frames | no frames]

Class AnalyzingInterpreter

Interpreter --+
              |
             AnalyzingInterpreter


This version of the interpreter will do syntax analysis on its
expressions before it executes them.  Should be a win on speed.

Method Summary
  __init__(self)
  get_special_builtins(self)
Returns a list of 2-tuples: name of the special builtin, and the function value of the builtin.
  schemeApply(self, cont, env, args)
  schemeCallcc(self, cont, env, args)
  schemeDir(self, cont, env, args)
A quick function to inspect the first frame.
  schemeEval(self, cont, env, args)
  schemeLoad(self, cont, env, args)
Special primitive: implements LOAD.
    Inherited from Interpreter
  eval(self, exp)
Evaluates an expression exp.
  get_environment(self)
Returns the toplevel environment frame.
  get_evaluator(self)
Returns the evaluation function.
  get_expander(self)
Returns the syntax expander.
  install_function(self, name, function)
Installs a Python function into the toplevel environment.
  install_special_builtins(self)
Adds some unusual builtin cases that involve the interpreter itself.
  repl(self)
A thin method around the repl function.

Method Details

get_special_builtins(self)

Returns a list of 2-tuples: name of the special builtin, and
the function value of the builtin.
Overrides:
tp.client.pyscheme.scheme.Interpreter.get_special_builtins (inherited documentation)

schemeDir(self, cont, env, args)

A quick function to inspect the first frame.

schemeLoad(self, cont, env, args)

Special primitive: implements LOAD.

Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 http://epydoc.sf.net