New: J48

Presentation
In order to allow more people to benefit Psion48 power, I have begun to develop a new application with the same goals but in Java. Thus this may be used on any machine running a JVM.
For the present I have implemented very few functions, but they are sufficient to test it. You can click HERE or on the link at the buttom of this page to test an applet based on J48 classes.

Available commands
Only the data types and functions described in the tables below are usable today. Their number will grow in function of the time I will be able to spent for their development. If you are interested in working on this project with me, contact me.

Data types
Type
Description
RealsReals are written as usual.

Example: -1,2

Integers Integers are preceded by the '#' character, and followed by the radix. This may be omitted if you want to use the current radix.

Otherwise use 'b', 'o', 'd', or 'h' prefix for (respectively) binary, octal, decimal or hexadecimal radix.

In order to use other exotic radix, use another '#' followed by the radix.

Thus an integer whose value is 194871 may be written #194871d, #574467o, #101111100100110111b, #2F937h or #123456#11

Commands
Name
Description
AddAdds level 1 to level 2.
BinDefines the current integer radix to binary.
ClearEmpties the complete stack content.
DecDefines the current integer radix to decimal
DivDivides level 2 with level 1
DropDeletes level 1
Drop2Deletes both levels 1 and 2
DropnReads n in level 1 and deletes the n following levels
DupDuplicates level 1
Dup2Duplicates levels 1 and 2
DupnRead n in level 1 and duplicates the n following levels
HexDefines the current integer radix to hexadecimal.
OctDefines the current integer radix to octal.
OverCopies level 2 in level 1.
PickReads n in level 1 and copies the nth following level and level 1.
ProdMultiply level 1 to level 2.
RollReads n in level 1 and move the nth following level and level 1.
RolldReads n in level 1 and move level 1 to level n.
RotMoves level 3 to level 1.
SubSubstract level 1 to level 2.
SwapReverses levels 1 and 2.

Compatibility Table of content Test j48