View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Mario Silva > Language-Tea-0.02 > Language::Tea



Annotate this POD

View/Report Bugs
Module Version: 0.02   Source   Latest Release: Language-Tea-0.03


Language::Tea - A Tea code converter.


Version 0.01


This module converts Tea code into Java.

syntax: filename [option]

- filename: The Tea file you want to convert.

- option: put any character after the filename if you want destea to print directly to file. This will create a directory named 'Project' with a file and other files for each class in the Tea file converted.


destea will convert Tea code to Java. You have two options:

- You can print Java code to standard output; - Or, you can print Java code directly to java files. If you want to use this, you just have to put any character after the filename


    ./ a

This will create a new directory called 'Project' and inside you'll have, wich contains all main Tea instructions, and you'll have another files, one for each class in your Tea file converted.


Imagine you have a Tea file with two classes: Triangle and Rectangle. If you convert this file, you'll obtain, and


NOTE: This module requires the "astyle" command line program.

  perl Makefile.PL
  make test
  make install


Mario Silva <mario.silva at>

Flavio S. Glock <>

Daniel Ruoso <>


NOTE: This module requires the "astyle" command line program.

Please report any bugs or feature requests to bug-language-tea at, or through the web interface at We will be notified, and then you'll automatically be notified of progress on your bug as we make changes.


Copyright 2007 Mario Silva, Flavio S. Glock, Daniel Ruoso, Vertical One Lda. all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

syntax highlighting: