Affix::Infix2Postfix

Affix::Infix2Postfix is a Perl extension for converting from infix notation to postfix notation.
Download

Affix::Infix2Postfix Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Addi
  • Publisher web site:
  • http://search.cpan.org/~addi/Affix-Infix2Postfix-0.03/Infix2Postfix.pm

Affix::Infix2Postfix Tags


Affix::Infix2Postfix Description

Affix::Infix2Postfix is a Perl extension for converting from infix notation to postfix notation. Affix::Infix2Postfix is a Perl extension for converting from infix notation to postfix notation.SYNOPSIS use Affix::Infix2Postfix; $inst=Affix::Infix2Postfix->new( 'ops'=>, 'grouping'=>, 'func'=>, 'vars'=> ); $rc=$inst->translate($str) || die "Error in '$str': ".$inst->{ERRSTR}."n";Infix2Postfix as the name suggests converts from infix to postfix notation. The reason why someone would like to do this is that postfix notation is generally much easier to do in computers. For example take an expression like: a+b+c*d. For us humans it's pretty easy to do that calculation. But it's actually much better for computers to get a string of operations such as: a b + c d * +, where the variable names mean put variable on stack.Requirements:· Perl Requirements: · Perl


Affix::Infix2Postfix Related Software