Questions tagged [postfix]
The postfix tag has no summary.
10 questions
0 votes
1 answer
240 views
LDAP with Dovecot
I have a mail server setup with Postfix and Dovecot, and an application server setup with node.js. I have user credentials stored in my application server, and I want to use the same credentials for ...
5 votes
1 answer
2k views
Is it worth parsing an infix algebraic expression to postfix and then an expression tree?
I am trying to make a simple expression parser, in which users type an expression in infix notation (for example ln((1+2)(3-4))) to apply some calculations. To make this possible I need to tokenize ...
4 votes
2 answers
816 views
Variable assignment in a postfix language
TL;DR is val name <- more readable than name val <-? I'm designing a semi-concatenative, postfix language. I haven't given much thought to the style in which variable are assigned, and now I ...
1 vote
7 answers
7k views
Algorithm for recursive evaluation of postfix expressions
I'm reading Sedgewick's book on algorithms in C and I'm looking for an algorithm to evaluate postfix expressions (addition and multiplication only) without using a stack. I tried to implement one but ...
28 votes
11 answers
39k views
Avoid Postfix Increment Operator
I've read that I should avoid the postfix increment operator because of performance reasons (in certain cases). But doesn't this affect code readability? In my opinion: for(int i = 0; i < 42; i++)...