Jump to content
Sign in to follow this  
jxpx777

RPN calculator mode

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

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

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.)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...