Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Tea (programming language)

From Wikipedia, the free encyclopedia
Tea
ParadigmMulti-paradigm:Functional,Object-oriented (class-based)
DeveloperJorge Nunes
First appeared1997 (1997)
WebsiteTea
Influenced by
Tcl,Java,Scheme

Tea is ahigh-levelscripting language for theJava environment. It combines features ofScheme,Tcl, andJava.[1][2]

Features

[edit]
  • 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.6JVM 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 throughJDBC, regular expressions throughGNURegexp, and anXML parser through aSAX parser (XML4J for example).

Interpreter alternatives

[edit]

Tea is a proprietary language. Its interpreter is subject to a non-free license. A project called "destea", which released as Language::Tea inCPAN, provides an alternative by generating Java code based on the Tea code.

TeaClipse[3] is an open-source compiler that uses a JavaCC-generated parser to parse and then compile Tea source to the proprietary Tea bytecode.

References

[edit]
  1. ^Hunter, Jason; Crawford, William (April 3, 2001).Java Servlet Programming: Help for Server Side Java Developers. "O'Reilly Media, Inc.". p. 423.ISBN 9780596000400 – via Internet Archive.tea programming language.
  2. ^Huynh, Khue; Razzaq, Leena (January 1, 2002)."A Distance learning system for Tea programming".Major Qualifying Projects (All Years).
  3. ^TeaClipse

External links

[edit]
Retrieved from "https://en.wikipedia.org/w/index.php?title=Tea_(programming_language)&oldid=1270726879"
Categories:

[8]ページ先頭

©2009-2025 Movatter.jp