PCalc
A programmable calculator based on JewelScript

The pcalc application is a small Windows® program that lets you quickly evaluate a given C/C++/Java expression by simply entering it the same way you would do while programming. It is all about functionality and nothing about looks. No CASIO look-alike GUI, no pointless GUI buttons to click to enter your expression.
The program embeds the JewelScript runtime to compile and run the expression you enter, opening up a whole lot more possibilities than you would expect from such a program. You can even define functions, classes and variables on the fly and then use them in your expressions.
But that’s not all. When starting up, the program scans the accompanied “modules” folder for script files and compiles them. That way you can build your own library of user-defined script functions or even classes and always have them ready for use when you launch up the program. In these module files, the full functionality of JewelScript is available.
The program contains all the “usual” native bindings that are also built into the JILRunOnly program: stdlib, math, File, Time, Trex, etc., allowing for some really advanced programming, if you want.
Changes
Changes in v0.5:
- updated to JewelScript v1.0
- revised saving of window position
Changes in v0.4:
- contains a preliminary version of JewelScript v0.9
- several UI enhancements
- added serveral new functions to ’std.pcalc’
Changes in v0.3:
- resizable main window
- saving / restoring of window position and size (see accompanied script “windowpos.pcalc”)
- global and expression scope (define functions and variables in global scope, use them in expression scope)
- global data is now retained during multiple compile / run cycles
- more specific error information; output of compiler warnings
- improved stability when compiling code fails
- improved editing of code that spans multiple lines
License
PCalc is freeware. You can share it with anyone as long as no money is charged. Use it at your own risk.
Where to download
You can download the current version (v0.5) of pcalc here.