SEdit.Scheme
Class STools

java.lang.Object
  extended bySEdit.Scheme.STools

public class STools
extends Object

une classe qui contient un ensemble de procedures effectuant l'interface entre SEdit et Kawa


Constructor Summary
STools()
           
 
Method Summary
static LList delete(Object elt, LList lst)
           
static Object evalit(Object expr, Hashtable env)
           
static Object evalit1(Object expr, Hashtable env)
          Evalue une expression
static LList javaVectorToList(Vector v)
          transforme un vecteur java.util.Vector en liste Scheme
static Vector listToJavaVector(LList lst)
          transforme une liste en un vecteur java
static Hashtable match(Object pat, Object fact)
          la fonction de filtrage d'appel
static Hashtable match(Object pat, Object fact, Hashtable subst)
           
static void prin(Object value, OutPort out)
           
static void print(Object value, OutPort out)
           
static String prinToString(Object o)
          print an expression to a String in a human-readable way (i.e. without quotes around strings)
static Object readFromString(String str)
           
static Object subst(Object expr, Hashtable env)
           
static String writeToString(Object o)
          print an expression to a String in a machine-readable way (i.e. with quotes around strings)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

STools

public STools()
Method Detail

javaVectorToList

public static LList javaVectorToList(Vector v)
transforme un vecteur java.util.Vector en liste Scheme


readFromString

public static Object readFromString(String str)
                             throws IOException,
                                    gnu.text.SyntaxException
Throws:
IOException
gnu.text.SyntaxException

prinToString

public static String prinToString(Object o)
print an expression to a String in a human-readable way (i.e. without quotes around strings)


writeToString

public static String writeToString(Object o)
print an expression to a String in a machine-readable way (i.e. with quotes around strings)


print

public static void print(Object value,
                         OutPort out)

prin

public static void prin(Object value,
                        OutPort out)

listToJavaVector

public static Vector listToJavaVector(LList lst)
transforme une liste en un vecteur java


match

public static Hashtable match(Object pat,
                              Object fact)
la fonction de filtrage d'appel


match

public static Hashtable match(Object pat,
                              Object fact,
                              Hashtable subst)

subst

public static Object subst(Object expr,
                           Hashtable env)

evalit1

public static Object evalit1(Object expr,
                             Hashtable env)
Evalue une expression


evalit

public static Object evalit(Object expr,
                            Hashtable env)

delete

public static LList delete(Object elt,
                           LList lst)


Copyright © J. Ferber, O. Gutknecht All Rights Reserved.