Kalkulon is a programmable expression calculator for programmers available for your Windows, Linux and Android device.
If you just need a simple calculator Kalkulon is probably not what you are looking for.
But if you are looking for a scientific calculator with the following features
* C-like syntax, e.g.: (0x10>>3)+(6|4)*7
* variables, e.g: bitmask = 0x0F0F; 0x1234&bitmask
* user defined formulas and scripts, e.g.: AddMul(a,b,c)=(a+b)*c; AddMul(1,2,3)
* fully programmable, e.g.: if, while, do, etc.
* result history (out, outl), e.g.: 3+4; out+8; outl[0]+outl[1]
* casts, e.g.: ((u8)-1)<<8
* dec, hex and bin number format, e.g.: (128+0x3d)&0b01101100
* strings and list, e.g.: list = {"Hallo ", "World"}; list[0]+list[1]
* syntax coloring for easy use of long expressions
* autoload file ("autoload.k") for user defined variables, formulas, programs
* GPL license
which can share formulas and scripts between your desktop and mobile device you should give Kalkulon a try.
For devices without hardware keyboard I recommend Hacker's Keyboard!
Details:
On the Android device the example and help files are automatically copied into "SDCARD/Kalkulon" folder on first start. This is also the working directory for Kalkulon. Put your Kalkulon scripts here, e.g. from your desktop PC.
The Exec() command works a little bit different on Android:
If the command is ACTION_EDIT or ACTION_VIEW, e.g.
Exec("ACTION_EDIT", "runregtest.k")
an Android Intent is sent to start an external Activity.
For all other commands a normal system() call is executed, e.g.
Exec("echo 1 > xxx") writes "1" into file "xxx" in Kalkulon folder.
For more details have a look at http://www.kalkulon.de
Change log:
2.3:
- adjust colors for better readability (with and w/o syntax highlighting)
2.2:
- add syntax highlighting
2.1:
- new setting for simple output (suppress "outl[i]" prefix)
- enlarge layout of list views for easier touching
- "Clear session" now visible in Action Bar
2.0:
- add: text size of input can be set via "Settings ..." menu
1.9:
- add: support of octal numbers with prefix "0o" (zero "o") -> "0o1234567"
1.8:
- add: text size can be changed by zoom gesture
1.6/1.7:
- fix: keep soft keyboard open for Android >= 4.x
1.5:
- add: Android 4 look and feel (please report issues to contact@kalkulon.de)
- add: select and copy from output window
1.4:
- add: "Clear input history" menu item
1.3:
- add: Exec() now supported on Android (see description in overview)
- fix: error messages were cut-off
- fix: LinePos() returned wrong line number
1.2:
- check if user deleted application data
All APK files available here:
https://bitbucket.org/jholetzeck/kalkulon-for-android/downloads
Kalkulon是一个可编程的表达式计算器可用于Windows,Linux和Android设备的程序员。
如果你只需要一个简单的计算器Kalkulon可能不是你正在寻找。
但是,如果你正在寻找一个科学计算器,具有以下特点
*类似C的语法,例如:(为0x10 >> 3)+(6 | 4)* 7
*变量,例如:位掩码0x0F0F; 0x1234的位掩码
*用户自定义的公式和脚本,例如:AddMul(A,B,C)=(A + B)* C; AddMul(1,2,3)
*完全可编程的,例如:同时,如果做的,等等。
*结果历史(,OUTL),例如:3 +4 +8出OUTL [0] + OUTL [1]
*转换,例如:((U8)-1)<< 8
*十进制,十六进制和垃圾桶的数字格式,例如:(128 +0 X3D)&0b01101100
*字符串和列表,例如:= {“你好”,“世界”};列表[0] +列表[1]
*语法着色,方便使用长的表达式
*自动加载用户定义的变量,公式,程序文件(“autoload.k”)
* GPL许可证
可以分享您的台式机和移动设备之间的公式和脚本,你应该给Kalkulon一试。
对于没有硬件键盘的设备,我建议黑客的键盘!
详细介绍:
在Android设备上的例子和帮助文件被自动复制到“SD卡/ Kalkulon的”文件夹的第一次启动。这也是的工作目录Kalkulon。这里将您的Kalkulon脚本,例如从您的台式PC。
EXEC()命令的工作在Android上有一点点不同:
如果该命令是,例如ACTION_EDIT或ACTION_VIEW
执行exec(“ACTION_EDIT”,“runregtest.k”)
发送一个Android的意图是,启动外部活动。
对于所有其他的命令一个正常的系统()调用执行,例如
EXEC(“回声1> XXX”)“1”写入到文件“XXX”在Kalkulon文件夹。
欲了解更多详细信息,看看http://www.kalkulon.de
更改日志:
2.3:
- 调整颜色更好的可读性(W / O语法高亮)
2.2:
- 添加语法高亮
2.1:
- 新的设置,简单的输出(抑制“OUTL [I]”前缀)
- 放大列表视图布局更容易感人
- “清除会话”现在可以在动作条
2.0:
- 新增:输入文字的大小可以通过设置“设置...”菜单
1.9:
- 添加:支持八进制数字的前缀“0°”(零“O”) - >“0o1234567”
1.8:
- 添加:可以改变文字大小缩放手势
1.6/1.7:
- 修正:保持打开软键盘的Android> = 4.x版
1.5:
- 补充:Android 4的外观和感觉(请在报告问题contact@kalkulon.de的)
- 增加:从输出窗口中选择和复制
1.4:
- 补充说:“清除输入历史”菜单项
1.3:
- 新增:EXEC()现在支持Android的(详见概述)
- 修复:错误消息被切断
- 修复:LinePos()返回错误的行号
1.2:
- 检查用户是否删除的应用程序数据
所有的APK文件可以在这里:
https://bitbucket.org/jholetzeck/kalkulon-for-android/downloads