Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Affix::Infix2Postfix 0.03

    Download button

    No screenshots available
    Downloads: 457  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Addi | More programs
    Perl Artistic License / FREE
    September 6th, 2007, 06:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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'=>[
    {op=>'+'},
    {op=>'-'},
    {op=>'*'},
    {op=>'/'},
    {op=>'-',type=>'unary',trans=>'u-'},
    {op=>'func',type=>'unary'},
    ],
    'grouping'=>[qw( ( ) )],
    'func'=>[qw( sin cos exp log )],
    'vars'=>[qw( x y z)]
    );
    $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



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    infix notation | postfix notation | Perl module | infix | postfix | notation

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM