Main Page | Report this Page
 
   
Science Forum Index  »  Math - Symbolic Forum  »  Translate Maple to Perl
Page 1 of 1    
Author Message
Guest
Posted: Fri Feb 23, 2007 12:51 pm
Hi,

Is there a translator available for translating Maple syntax commands
into a Perl like scripts? I know this sounds somewhat un-usual but all
the Maple files that I have, which are too many can be applied using
the Perl commands but I just don't like to do all these by hand.

thank you in advance.

Steve K.
M.Sc. Program
Raqeeb Rasheed
Posted: Fri Feb 23, 2007 3:57 pm
Guest
I don't think there is a way to translate Maple into Perl (at least
not directly within Maple). Perl is just a scripting language and it's
a very different tool from a Math symbolic programming language such
as Maple, so I think your best bet would be to try translate what you
want from Maple into Perl manually but you will need to do this only
once for each Maple function,operator,command,...etc and then you can
extend the CodeGeneration package to include your Perl by using the
command CodeGeneration:-LanguageDefinition:-Add (see the help page of
Add for details).

Sorry, I couldn't add any more help but you may want to look at the
Maple CodeGeneration documentation which descirbes the way you need to
follow to add a new language

Raqeeb Rasheed


steve1966_2@yahoo.com wrote:
Quote:
Hi,

Is there a translator available for translating Maple syntax commands
into a Perl like scripts? I know this sounds somewhat un-usual but all
the Maple files that I have, which are too many can be applied using
the Perl commands but I just don't like to do all these by hand.

thank you in advance.

Steve K.
M.Sc. Program
 
Page 1 of 1       All times are GMT - 5 Hours
The time now is Tue Oct 07, 2008 8:06 pm