Post Reply 
An HPPL compiler question...
06-26-2017, 05:34 AM
Post: #2
RE: An HPPL compiler question...
Hello,

Nope, not that complex.
PPL programs are transformed into a tree representation of the program/expressions, with a program being a list of user functions, user functions being themselves lists of expressions or objects (like lists numbers, matrices...), expression having a standard tree structure.

The execution of a program is the sequential execution of these lists and expression trees.

The code is non-recursive (even if the program is), to allow deep recursive program execution (like a factorial).

It is not very memory efficient, but it is quite fast and relatively simple to implement.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: An HPPL compiler question... - cyrille de brébisson - 06-26-2017 05:34 AM



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