A simple Forth interpreter based on SFI, modified to support arrays, nested loops, return stack and so on. More features are coming :)
Simply put your Forth code to /sdcard/main.fth and start this app.Special word syntax:BUTTON:(width height id label_key label_len handler_key handler_len -- )
Event handler must be a user defined word, cannot be primitive!
TEXTBOX:shows an one-line editable textbox.(width height id -- )
GETTEXT:reads content of textbox with given id.(id -- key length)
ALERTDIALOG:Shows a dialog without any button, you must give title and message as input.(title_key title_length msg_key msg_length -- )
DIAL:Calls a phone number, the input is a string.
(key length -- )
Example:
: BUTTONPRESS S" You typed: " 100 GETTEXT ALERTDIALOG ;30 50 100 TEXTBOX30 50 105 S" Press me! " S" BUTTONPRESS" BUTTON
If you have questions or ideas, feel free to contact me at [email protected]!
VERSION HISTORY
- Version 1.6.2 posted on 2011-06-17
Changes for 1.6.1:,Fixed S" :),Changes for 1.6.2:,Added DIAL to call a phone number - Version 1.5 posted on 2011-06-02
Several fixes and updates
Program Details
- Category: System Utilities > System Maintenance
- Publisher: gusthy
- License: Free
- Price: N/A
- Version: 1.6.2
- Platform: android