Skip to content

Converter & Evaluator - infix to postfix and prefix.

Notifications You must be signed in to change notification settings

RxnNode/infixTother

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

infixTother

THIS PROJECT IS UNDER DEVELOPMENT.
infixTother is a simple app that convert infix expression to postfix/prefix expression.

Limitation?

  1. One digit per terms
    It can convert a expression that ONLY contains ONE-DIGIT terms.
    For example :

    1+(2*3-(4/5^2)*7) is convertible.
    12 +( 21 *3-(4/ 54 ^2)*7) is not convertible.
    This limitation may be fixed in future.

  2. Well-formed expressions
    For example :

    1+(2*3-(4/5^2)*7) is well-formed.
    *1+3/-3 is not well-formed.
    Please avoid negative number in the begining of expression.

Downloads

infixTother v1.0

Test result

  1. 1+(2*3-(4/5^2)*7) 1+(2*3-(4/5^2)*7)
  2. 4^2*3-3+8/4/(1+1) 4^2*3-3+8/4/(1+1)
  3. 1+(23-(4/22)*7) 1+(23-(4/22)*7)

To Do list

  • KILL Limitation 1.
  • Auto checking for Limitation 2.

About

Converter & Evaluator - infix to postfix and prefix.

Resources

Stars

Watchers

Forks

Packages

No packages published