ⓘ Tea (programming language)

                                     

ⓘ Tea (programming language)

  • Support for object oriented programming.
  • Scheme-like closures are intrinsic to the language.
  • Integrated support for all major programming paradigms.
  • Functional programming language.
  • Functions are first class objects.
  • Modular libraries with autoloading on demand facilities.
  • XML processing.
  • String and list processing.
  • File and network I/O.
  • Large base of core functions and classes.
  • Database access.
  • Regular expressions.
  • The Tea interpreter is implemented in Java.
  • Tea runs anywhere with a Java 1.6 JVM or higher.
  • 100% pure Java.
  • 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.
                                     

1. 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 is an open source compiler that uses a JavaCC-generated parser to parse and then compile Tea source to the proprietary Tea bytecode.