请输入您要查询的百科知识:

 

词条 Tea (programming language)
释义

  1. Interpreter alternatives

  2. References

  3. External links

{{Notability|date=January 2011}}

{{Infobox programming language
| name = Tea
| released = {{Start date|1997}}
| paradigm = Multi-paradigm: Functional, Object-oriented (class-based)
| developer = Jorge Nunes
| influenced by = Tcl, Java, Scheme
| website = www2.pdmfc.com/tea
}}

Tea is a high level scripting language for the Java environment. It combines features of Scheme, Tcl, and Java.

  • Integrated support for all major programming paradigms.
    • Functional programming language.
    • Functions are first class objects.
    • Scheme-like closures are intrinsic to the language.
    • Support for object oriented programming.
  • Modular libraries with autoloading on demand facilities.
  • Large base of core functions and classes.
    • String and list processing.
    • Regular expressions.
    • File and network I/O.
    • Database access.
    • XML processing.
  • 100% Pure Java.
    • The Tea interpreter is implemented in Java.
    • Tea runs anywhere with a Java 1.6 JVM or higher.
    • Java reflection features allow the use of Java libraries directly from Tea code.
  • Intended to be easily extended in Java. For example, Tea supports relational database access through JDBC, regular expressions through GNU Regexp, and an XML parser through a SAX parser (XML4J for example).

Interpreter alternatives

  • Tea is a proprietary language. Its interpreter is subject to a non-free license. On the other hand, a project called "destea", which released Language::Tea in CPAN, provides an alternative to the proprietary interpreter, by generating Java Code based on the Tea code.
  • There is an open source compiler known as TeaClipse[1] that uses a JavaCC-generated parser to parse and then compile Tea source to the proprietary Tea bytecode. The author of TeaClipse has expressed interest in enhancing TeaClipse to produce Java bytecode.

References

1. ^TeaClipse from Google

External links

  • [https://web.archive.org/web/20120116195952/http://www.pdmfc.com/tea/ Tea Home Page]
  • [https://metacpan.org/module/Language::Tea "destea" code converter]
{{compu-lang-stub}}

5 : Scripting languages|Programming languages|High-level programming languages|Programming languages created in 1997|1997 software

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/21 16:27:52