Class IScriptLispSource

  extended by ix.test.xml.LispSourceText
      extended by ix.iscript.IScriptLispSource
All Implemented Interfaces:
IScriptSource, ProgramSource, SemiPrimitive, java.io.Serializable

public class IScriptLispSource
extends LispSourceText

An object that can be used to wrap an I-Script Expression that is written in a Lisp-like syntax. It carries the knowledge of how to translate the expression into the tree form used by Interpreters.

This allows source code to be written in XML using the ordinary textual syntax. For example:

     (defun f (x) (* x x))
     (defun g (x y) (/ (+ x y) 2))

See Also:
Serialized Form

Field Summary
Fields inherited from class ix.test.xml.LispSourceText
parser, text
Constructor Summary
IScriptLispSource(java.lang.String text)
Method Summary
Methods inherited from class ix.test.xml.LispSourceText
equals, getLanguage, getSource, getSyntax, parseSource, readSource, toString, valueOf
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public IScriptLispSource(java.lang.String text)