[RPL/2] library in interactive mode

DEMAINE Benoit-Pierre benoit at demaine.info
Mar 28 Sep 14:57:36 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


| Moreover, I found a difference between the behavior of "rpl -i" and
| the behavior of a HP28S calculator: variables which contain programs
| are not spontaneously evalued.

I am used of HP48G(x) and it acts the same way as HP28S ...

this is because the default action is to evaluate variable ( and thus
their content ), by jumping to the address of their content ( the
identifier of all content is in fact the ASM adress of the routine which
can manipulate them, and the manipulation for program is to be run ... )

Since RPL/2 do not run ASM directly, I expect Joel not to be aware of
that, and to push content on the stack for all content without checking
the type of content ...

I did not read source of RPL/2, but the bug you mention makes sense to me.

as you say, RPL/2 remains a very good tool - but full compatibility with
HP calculators would de a plus ^^

- --
DEMAINE Benoît-Pierre http:/www.demaine.info/
\_o< apt-get remove ispell >o_/
There're 10 types of people: those who can count in binary and those who
can't
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBWV/AGWSTLbOSw8IRAuXAAKCWQtGoTZXYfl4/vAGImWYcXvVofwCgkqce
nyo8YXHfjOcOBKMZyeUS9Jo=
=Tk8M
-----END PGP SIGNATURE-----



Plus d'informations sur la liste de diffusion RPL2