postfix-notation
Recognizing Parenthesis in an Infix to Postfix Conversion [duplicate]
This question already has answers here: Handling parenthesis while converting infix expressions to postfix expressions[详细]
2023-04-11 06:20 分类:问答Need help in implementing Java Algorithm on Postfix Evaluation
I\'ve tried writing this code from scratch, coding, and running it but it just doesn\'t seem to work. This was assigned as lab work in class. The requirements are:[详细]
2023-03-31 14:12 分类:问答May I write {x,a,b}//Do[...,#]& instead of Do[...,{x,a,b}]?
I\'m in love with Ruby. In this language all core functions are actually methods. That\'s why I prefer postfix notation – when the data, which I want to process is placed left from the body of anonym[详细]
2023-03-29 06:18 分类:问答Could an Applicative Language use Postfix Notation?
I\'ve always found postfix languages like Fa开发者_JAVA百科ctor to be far more readable than prefix (Lispy languages) and infix/postfix languages (all C-style languages, if we include both operators a[详细]
2023-03-21 02:58 分类:问答stack trace in code
I was wondering how I would add a trace to the stack of this code that converts infix to postix for expressions.[详细]
2023-02-26 01:38 分类:问答Getting wrong outputs in infix to postfix application with java
i recently wrote a java program that takes an infix expression and converts it into a postfix expression. It works for the most part but i am getting wrong outputs for some expressions. For example th[详细]
2023-01-26 19:07 分类:问答C++ postfix evaluation with decimal points
I\'ve got the shunting yard algorithm implemented (using code from wikipedia, modified to use stl stacks/queues), but now I\'m wond开发者_运维问答ering how it\'s going to evaluate decimals that I get[详细]
2023-01-25 17:39 分类:问答infix to postfix
I\'ve been trying to figure out this problem. I have an assignment to make a basic calculator. To do so i need the instructions in postfix.[详细]
2023-01-21 15:05 分类:问答Can this Python postfix notation (reverse polish notation) interpreter be made more efficient and accurate?
Here is a Python postfix notation interpreter which utilizes a stack to evaluate the expressions.Is it possible to make this function more efficient and accurate?[详细]
2023-01-19 06:30 分类:问答Postfix to infix with unary/binary operators
I am trying to make a converter from postfix to infix notation and need some help. There is already a question about infix-to-postfix conversion, which gives an example I am failing to convert back. ([详细]
2023-01-11 05:23 分类:问答