Java Doc for Scheme.java in  » Scripting » Kawa » kawa » standard » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Scripting » Kawa » kawa.standard 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


gnu.expr.Language
   gnu.kawa.lispexpr.LispLanguage
      kawa.standard.Scheme

All known Subclasses:   gnu.kawa.brl.BRL,  gnu.q2.lang.Q2,
Scheme
public class Scheme extends LispLanguage (Code)


Field Summary
final static  DeclarationapplyFieldDecl
    
final public static  ApplyToArgsapplyToArgs
    
public static  LangPrimTypebooleanType
    
final public static  AbstractFormatdisplayFormat
    
final public static  kawa.standard.mapforEach
    
final public static  DeclarationgetNamedPartDecl
    
final public static  Schemeinstance
    
final public static  gnu.kawa.reflect.InstanceOfinstanceOf
    
final public static  gnu.kawa.functions.IsEqisEq
    
final public static  gnu.kawa.functions.IsEqualisEqual
    
final public static  gnu.kawa.functions.IsEqvisEqv
    
final protected static  SimpleEnvironmentkawaEnvironment
    
final public static  Lambdalambda
    
final public static  kawa.standard.mapmap
    
final public static  notnot
    
final public static  EnvironmentnullEnvironment
    
final public static  NumberComparenumEqu
    
final public static  NumberComparenumGEq
    
final public static  NumberComparenumGrt
    
final public static  NumberComparenumLEq
    
final public static  NumberComparenumLss
    
final public static  Environmentr4Environment
    
final public static  Environmentr5Environment
    
final public static  kawa.replrepl
    
static  Hashtabletypes
    
final public static  AbstractFormatwriteFormat
    

Constructor Summary
public  Scheme()
    
protected  Scheme(Environment env)
    

Method Summary
public static  Environmentbuiltin()
    
public  ReadTablecreateReadTable()
    
public static  Objecteval(String string, Environment env)
     Evalutate Scheme expressions from string.
Parameters:
  string - the string constaining Scheme expressions
Parameters:
  env - the Environment to evaluate the string in result of last expression, or Language.voidObject if none.
public static  Objecteval(InPort port, Environment env)
     Evalutate Scheme expressions from stream.
Parameters:
  port - the port to read Scheme expressions from
Parameters:
  env - the Environment to evaluate the string in result of last expression, or Language.voidObject if none.
public static  Objecteval(Object sexpr, Environment env)
     Evalutate Scheme expressions from an "S expression."
Parameters:
  sexpr - the S expression to evaluate
Parameters:
  env - the Environment to evaluate the string in result of the expression.
public static  Typeexp2Type(Expression exp)
     Convert expression to a Type.
public  AbstractFormatgetFormat(boolean readable)
    
public static  SchemegetInstance()
    
public  StringgetName()
    
public static  TypegetNamedType(String name)
    
public  intgetNamespaceOf(Declaration decl)
    
public  TypegetTypeFor(Class clas)
    
public  TypegetTypeFor(String name)
    
public static  TypegetTypeValue(Expression exp)
     If exp is a "constant" Type, return that type, otherwise return null.
public  NamedLocationlookupBuiltin(Symbol name, Object property, int hash)
    
public  ExpressionmakeApply(Expression func, Expression[] args)
    
public static  voidregisterEnvironment()
     The compiler insert calls to this method for applications and applets.
public static  Typestring2Type(String name)
    

Field Detail
applyFieldDecl
final static Declaration applyFieldDecl(Code)



applyToArgs
final public static ApplyToArgs applyToArgs(Code)



booleanType
public static LangPrimType booleanType(Code)



displayFormat
final public static AbstractFormat displayFormat(Code)



forEach
final public static kawa.standard.map forEach(Code)



getNamedPartDecl
final public static Declaration getNamedPartDecl(Code)



instance
final public static Scheme instance(Code)



instanceOf
final public static gnu.kawa.reflect.InstanceOf instanceOf(Code)



isEq
final public static gnu.kawa.functions.IsEq isEq(Code)



isEqual
final public static gnu.kawa.functions.IsEqual isEqual(Code)



isEqv
final public static gnu.kawa.functions.IsEqv isEqv(Code)



kawaEnvironment
final protected static SimpleEnvironment kawaEnvironment(Code)



lambda
final public static Lambda lambda(Code)



map
final public static kawa.standard.map map(Code)



not
final public static not not(Code)



nullEnvironment
final public static Environment nullEnvironment(Code)



numEqu
final public static NumberCompare numEqu(Code)



numGEq
final public static NumberCompare numGEq(Code)



numGrt
final public static NumberCompare numGrt(Code)



numLEq
final public static NumberCompare numLEq(Code)



numLss
final public static NumberCompare numLss(Code)



r4Environment
final public static Environment r4Environment(Code)



r5Environment
final public static Environment r5Environment(Code)



repl
final public static kawa.repl repl(Code)



types
static Hashtable types(Code)



writeFormat
final public static AbstractFormat writeFormat(Code)




Constructor Detail
Scheme
public Scheme()(Code)



Scheme
protected Scheme(Environment env)(Code)




Method Detail
builtin
public static Environment builtin()(Code)



createReadTable
public ReadTable createReadTable()(Code)



eval
public static Object eval(String string, Environment env)(Code)
Evalutate Scheme expressions from string.
Parameters:
  string - the string constaining Scheme expressions
Parameters:
  env - the Environment to evaluate the string in result of last expression, or Language.voidObject if none.



eval
public static Object eval(InPort port, Environment env)(Code)
Evalutate Scheme expressions from stream.
Parameters:
  port - the port to read Scheme expressions from
Parameters:
  env - the Environment to evaluate the string in result of last expression, or Language.voidObject if none.



eval
public static Object eval(Object sexpr, Environment env)(Code)
Evalutate Scheme expressions from an "S expression."
Parameters:
  sexpr - the S expression to evaluate
Parameters:
  env - the Environment to evaluate the string in result of the expression.



exp2Type
public static Type exp2Type(Expression exp)(Code)
Convert expression to a Type. Allow "TYPE" or 'TYPE or .



getFormat
public AbstractFormat getFormat(boolean readable)(Code)



getInstance
public static Scheme getInstance()(Code)



getName
public String getName()(Code)



getNamedType
public static Type getNamedType(String name)(Code)



getNamespaceOf
public int getNamespaceOf(Declaration decl)(Code)



getTypeFor
public Type getTypeFor(Class clas)(Code)



getTypeFor
public Type getTypeFor(String name)(Code)



getTypeValue
public static Type getTypeValue(Expression exp)(Code)
If exp is a "constant" Type, return that type, otherwise return null.



lookupBuiltin
public NamedLocation lookupBuiltin(Symbol name, Object property, int hash)(Code)



makeApply
public Expression makeApply(Expression func, Expression[] args)(Code)



registerEnvironment
public static void registerEnvironment()(Code)
The compiler insert calls to this method for applications and applets.



string2Type
public static Type string2Type(String name)(Code)



Fields inherited from gnu.kawa.lispexpr.LispLanguage
public ReadTable defaultReadTable(Code)(Java Doc)
final public static String lookup_sym(Code)(Java Doc)
final public static String quasiquote_sym(Code)(Java Doc)
final public static String quote_sym(Code)(Java Doc)
final public static String unquote_sym(Code)(Java Doc)
final public static String unquotesplicing_sym(Code)(Java Doc)

Methods inherited from gnu.kawa.lispexpr.LispLanguage
abstract public ReadTable createReadTable()(Code)(Java Doc)
public Declaration declFromField(ModuleExp mod, Object fvalue, Field fld)(Code)(Java Doc)
protected void defSntxStFld(String name, String cname, String fname)(Code)(Java Doc)
protected void defSntxStFld(String name, String cname)(Code)(Java Doc)
protected Symbol fromLangSymbol(Object sym)(Code)(Java Doc)
public Compilation getCompilation(Lexer lexer, SourceMessages messages)(Code)(Java Doc)
public Lexer getLexer(InPort inp, SourceMessages messages)(Code)(Java Doc)
public static Symbol langSymbolToSymbol(Object sym)(Code)(Java Doc)
public Expression makeApply(Expression func, Expression[] args)(Code)(Java Doc)
public Expression makeBody(Expression[] exps)(Code)(Java Doc)
public boolean parse(Compilation comp, int options) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc)
public void resolve(Compilation comp)(Code)(Java Doc)
public boolean selfEvaluatingSymbol(Object obj)(Code)(Java Doc)

Fields inherited from gnu.expr.Language
final public static int FUNCTION_NAMESPACE(Code)(Java Doc)
final public static int NAMESPACE_PREFIX_NAMESPACE(Code)(Java Doc)
final public static int PARSE_IMMEDIATE(Code)(Java Doc)
final public static int PARSE_ONE_LINE(Code)(Java Doc)
final public static int PARSE_PROLOG(Code)(Java Doc)
final public static int VALUE_NAMESPACE(Code)(Java Doc)
final protected static ThreadLocation current(Code)(Java Doc)
protected static int env_counter(Code)(Java Doc)
protected Environment environ(Code)(Java Doc)
public static boolean requirePedantic(Code)(Java Doc)
protected Environment userEnv(Code)(Java Doc)

Methods inherited from gnu.expr.Language
final public Type asType(Object spec)(Code)(Java Doc)
public Object booleanObject(boolean b)(Code)(Java Doc)
public Object coerceFromObject(Class clas, Object obj)(Code)(Java Doc)
public Object coerceToObject(Class clas, Object obj)(Code)(Java Doc)
public Object coerceToObject(int val)(Code)(Java Doc)
public Declaration declFromField(ModuleExp mod, Object fvalue, Field fld)(Code)(Java Doc)
protected void defAliasStFld(String name, String cname, String fname)(Code)(Java Doc)
protected void defProcStFld(String name, String cname, String fname)(Code)(Java Doc)
protected void defProcStFld(String name, String cname)(Code)(Java Doc)
public void define(String sym, Object p)(Code)(Java Doc)
final public void defineFunction(Named proc)(Code)(Java Doc)
public void defineFunction(String name, Object proc)(Code)(Java Doc)
public static Language detect(InputStream in) throws IOException(Code)(Java Doc)
public static Language detect(InPort port) throws IOException(Code)(Java Doc)
public static Language detect(String line)(Code)(Java Doc)
public void emitCoerceToBoolean(CodeAttr code)(Code)(Java Doc)
public void emitPushBoolean(boolean value, CodeAttr code)(Code)(Java Doc)
final public Object eval(String string) throws Throwable(Code)(Java Doc)
final public Object eval(Reader in) throws Throwable(Code)(Java Doc)
final public Object eval(InPort port) throws Throwable(Code)(Java Doc)
final public void eval(String string, Writer out) throws Throwable(Code)(Java Doc)
final public void eval(String string, PrintConsumer out) throws Throwable(Code)(Java Doc)
final public void eval(String string, Consumer out) throws Throwable(Code)(Java Doc)
final public void eval(Reader in, Writer out) throws Throwable(Code)(Java Doc)
public void eval(Reader in, Consumer out) throws Throwable(Code)(Java Doc)
public void eval(InPort port, CallContext ctx) throws Throwable(Code)(Java Doc)
public String formatType(Type type)(Code)(Java Doc)
public Compilation getCompilation(Lexer lexer, SourceMessages messages)(Code)(Java Doc)
public static Language getDefaultLanguage()(Code)(Java Doc)
public Object getEnvPropertyFor(java.lang.reflect.Field fld, Object value)(Code)(Java Doc)
public Object getEnvPropertyFor(Declaration decl)(Code)(Java Doc)
final public Environment getEnvironment()(Code)(Java Doc)
public AbstractFormat getFormat(boolean readable)(Code)(Java Doc)
public static Language getInstance(String name)(Code)(Java Doc)
public static Language getInstance(String langName, Class langClass)(Code)(Java Doc)
public static Language getInstanceFromFilenameExtension(String filename)(Code)(Java Doc)
public Environment getLangEnvironment()(Code)(Java Doc)
final public Type getLangTypeFor(Type type)(Code)(Java Doc)
public static String[][] getLanguages()(Code)(Java Doc)
abstract public Lexer getLexer(InPort inp, SourceMessages messages)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public int getNamespaceOf(Declaration decl)(Code)(Java Doc)
final public Environment getNewEnvironment()(Code)(Java Doc)
public Consumer getOutputConsumer(Writer out)(Code)(Java Doc)
public Procedure getPrompter()(Code)(Java Doc)
public Symbol getSymbol(String name)(Code)(Java Doc)
public Type getTypeFor(Class clas)(Code)(Java Doc)
public Type getTypeFor(String name)(Code)(Java Doc)
final public Type getTypeFor(Object spec, boolean lenient)(Code)(Java Doc)
final public Type getTypeFor(Expression exp)(Code)(Java Doc)
public Type getTypeFor(Expression exp, boolean lenient)(Code)(Java Doc)
public boolean hasNamespace(Declaration decl, int namespace)(Code)(Java Doc)
public boolean hasSeparateFunctionNamespace()(Code)(Java Doc)
public boolean isTrue(Object value)(Code)(Java Doc)
public void loadClass(String name) throws java.lang.ClassNotFoundException(Code)(Java Doc)
public Object lookup(String name)(Code)(Java Doc)
public NamedLocation lookupBuiltin(Symbol name, Object property, int hash)(Code)(Java Doc)
public Object noValue()(Code)(Java Doc)
final public Compilation parse(InPort port, gnu.text.SourceMessages messages, int options) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc)
final public Compilation parse(InPort port, gnu.text.SourceMessages messages, ModuleInfo info) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc)
final public Compilation parse(Lexer lexer, int options, ModuleInfo info) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc)
abstract public boolean parse(Compilation comp, int options) throws java.io.IOException, gnu.text.SyntaxException(Code)(Java Doc)
public static void registerLanguage(String[] langMapping)(Code)(Java Doc)
public void resolve(Compilation comp)(Code)(Java Doc)
public void runAsApplication(String[] args)(Code)(Java Doc)
public static void setDefaultLanguage(Language language)(Code)(Java Doc)
public static synchronized void setDefaults(Language lang)(Code)(Java Doc)
public static Type string2Type(String name)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.