Re:Clac – A command-line, stack-based calculator with postfi...
by undershirt on Thursday April 13, 2017 @02:49PM
(#14109825)
I just want to say great work. The parent comment here didn't realize that you drastically improved the user experience by showing the stack, which I think makes all the difference here.
To make this clear, I would upload your video to gfycat and link the gif in your readme.
Re:Clac – A command-line, stack-based calculator with postfi...
by soveran on Thursday April 13, 2017 @03:52PM
(#14110374)
I just updated the README with a gif of that video. Thanks for the idea!
Re:Clac – A command-line, stack-based calculator with postfi...
by lexpar on Monday April 24, 2017 @03:34PM
(#14187347)
Just looked at the video, the 'as you type' updated stack info is actually pretty cool. I thought based on the description that it only printed the contents of the stack after a command was executed. This is much nicer.
You guys are right, I didn't realise it was this cool, and I was too quick to be cynical.
In fact, the code is extremely simple. As I mentioned in the README, I've used dc a lot and what I propose with clac is an improvement (for my taste) regarding the UI, as there's an always-visible representation of the stack that gets updated as you type. I recorded a short video to show it in action: http://files.soveran.com/misc/clac.mov