clac
clac copied to clipboard
Command-line, stack-based calculator with postfix notation
I find it somewhat annoying that I have to write `3 4 *` instead of `3 4*`. I know that clac uses `sdssplitargs()`, which needs whitespace between tokens, and that...
Hello, I have been using this program for a bit and I have noticed that the words file doesn't allow for comments. I think have some comments would useful even...
Hi , I found that call stack overflow occurs when use a word defined circularly. A word can define circularly like below. ``` a "a" ``` or It can be...
Hey there. Thank you for this great tool. I added history saving and loading to file (`~/.local/share/clac/history`, configurable with XDG env) because I often need to review or amend previous...
So, wouldn't it make sense to simply implement all/most of the functions (and probably some of the constants) in math.h as primitives, since you're already using it? That should automatically...
Hello again. While I was working on the stuff in #16 I noticed there is a point of confusion in the docs. Under the "commands" section it says "When a...