| Home | Trees | Index | Help |
|---|
| Package tp :: Package client :: Package pyscheme :: Module scheme :: 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)
| |
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)
| |
A quick function to inspect the first frame. | |
schemeEval(self,
cont,
env,
args)
| |
Special primitive: implements LOAD. | |
| Inherited from Interpreter | |
Evaluates an expression exp. | |
Returns the toplevel environment frame. | |
Returns the evaluation function. | |
Returns the syntax expander. | |
Installs a Python function into the toplevel environment. | |
Adds some unusual builtin cases that involve the interpreter itself. | |
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.
|
schemeDir(self, cont, env, args)A quick function to inspect the first frame. |
schemeLoad(self, cont, env, args)Special primitive: implements LOAD. |
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Fri Jan 1 08:00:27 2010 | http://epydoc.sf.net |