Language::Tea - A Tea code converter.
Version 0.03
This module converts Tea code into Java.
syntax:
destea.pl 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 MainProgram.java 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
Example: ./destea.pl example.java a
This will create a new directory called 'Project' and inside you'll have MainProgram.java, wich contains all main Tea instructions, and you'll have another files, one for each class in your Tea file converted.
Example: Imagine you have a Tea file with two classes: Triangle and Rectangle. If you convert this file, you'll obtain MainProgram.java, Triangle.java and Rectangle.java
Mario Silva <mario.silva at verticalone.pt>
Flavio Glock <flavio.glock@verticalone.pt>
Daniel Ruoso <daniel.ruoso@verticalone.pt>
Please report any bugs or feature requests to bug-language-tea at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Language-Tea. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-language-tea at rt.cpan.org
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Language-Tea
CPAN Ratings
http://cpanratings.perl.org/d/Language-Tea
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Language-Tea
Search CPAN
http://search.cpan.org/dist/Language-Tea
Copyright 2007 Mario Silva, Flavio Glock, Daniel Ruoso, Vertical One all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Language::Tea, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Tea
CPAN shell
perl -MCPAN -e shell install Language::Tea
For more information on module installation, please visit the detailed CPAN module installation guide.