Kalkulon is a free and open source, platform-independent programmable expression calculator with a C-like syntax.
Kalkulon supports syntax coloring even for single digits in numbers for easy use of long hex or binary numbers. Full documentation and examples available in download package.
Building from source: Unarchive, open a Terminal window, go to the Kalkulon directory in the src folder and from there run the following command:
qmake
Then double click the generated Xcode project and choose Build from the Build menu in Xcode. This will build Kalkulon in the "/build/Debug" folder inside the source directory .
Here are some key features of "Kalkulon":
· support of C-like syntax for expressions, e.g.: (0x10>>3)+(6|4)*7
· variables can be used, e.g: bitmask = 0x0F0F; 0x1234&bitmask
· support of user defined formulas and programs, e.g.: AddMul(a,b,c)=(a+b)*c; AddMul(1,2,3)
· fully programmable, e.g.: if, while, do, etc. (see sample scripts)
· result history (out, outl), e.g.: 3+4; out+8; outl[0]+outl[1]
· support of casts, e.g.: ((u8)-1)
Requirements:
· Qt 4.2 or later
· Xcode
What's New in This Release: [ read full changelog ]
· bugfix: call explicitly 'setlocale' because this changed by QApplication
· change: size of input window changed (QTextEdit has a larger margin in Qt4.5)