Post Reply 
newRPL: Making RPL more readable
12-20-2016, 09:22 PM
Post: #27
RE: newRPL: Making RPL more readable
(12-18-2016 04:11 AM)compsystems Wrote:  I propose IDENTIFIER NAMES between the containers '' (39 ASCII)
AND ALGEBRAIC EXPRESSIONS between the containers ´´ (180 ASCII)

Straight to the point... I think it's redundant, what exactly does it achieve?
If X is 3 then
'X' EVAL
´X´ EVAL
are exactly the same thing.
What if you have an identifier and you try to operate on it?
'X' 2 / --> ´X+2´ (change of type???)

If the sole purpose is so the symbolic type can also have independent identifiers, it doesn't help much, as a number is also an algebraic expression, and it needs special treatment anyway.

(12-18-2016 04:11 AM)compsystems Wrote:  3: So that the codes are auto-documented using keywords, for several constants

Enums and other system convenience constants could be a good idea.


(12-20-2016 01:11 PM)compsystems Wrote:  Hi, one of the problems of the hp48/50 series libraries is that they use an identifier number
And if two users create a library with the same number, there will be a conflict, my proposal is to use the name of the library as reference
And now you have name conflicts, very little improvement, and significant slowdown if every command has to be searched by library name,.

(12-20-2016 01:11 PM)compsystems Wrote:  Another problem is that IDs in a directory are easily rewritten, a LOCK CMD is required to block. And another to hide variables, which can only be visible from the FILES KEY
HIDEVAR is already implemented and working, you can hide any variables you want. I didn't think of the LOCKVAR mechanism, I think it would be nice to lock programs from being overwritten, I'll implement this.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL: Making RPL more readable - Han - 12-02-2016, 12:39 PM
RE: newRPL: Making RPL more readable - Han - 12-07-2016, 07:37 AM
RE: newRPL: Making RPL more readable - Han - 12-07-2016, 10:12 PM
RE: newRPL: Making RPL more readable - Han - 12-05-2016, 07:43 PM
RE: newRPL: Making RPL more readable - Claudio L. - 12-20-2016 09:22 PM



User(s) browsing this thread: 1 Guest(s)