Various implementations for converting infix to postfix notation