Tea (programming language)

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

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

Features

  • 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. A project called "destea", which released as Language::Tea in CPAN, 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

  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

Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.