Jump to content

RPN calculator mode


jxpx777
 Share

Recommended Posts

I like the calculator module, but I like RPN/stacking notation as its more expressive and concise than standard notation with its reliance on parentheses for order of operations. Any thoughts on providing RPN support in the calculator feature?

Edited by jxpx777
Link to comment
Share on other sites

I like the calculator module, but I like RPN/stacking notation as its more expressive and concise than standard notation with its reliance on parentheses for order of operations. Any thoughts on providing RPN support in the calculator feature?

 

It's unlikely that this will make it into Alfred by default, but this could be an interesting project for somebody to do as a workflow :)

Link to comment
Share on other sites

  • 6 months later...
  • 5 years later...

I realize this is an ancient thread, but I just came across this https://www.roguelazer.com/2014/04/alfred-plus-dc/. It uses the built in dc command and works great. Unlike using dc on the command line, you see the top of stack (the current answer) immediately, which makes it so much easier to use. 

 

(dfay's is workflow is probably great too, but it relies on a python library that is "incompatible with macOS Sierra+". Looks like there is a way to update the python lib.)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...