Post Reply 
TI Conditionals & Spaghetti Code
06-03-2024, 05:01 AM
Post: #28
RE: TI Conditionals & Spaghetti Code
(05-31-2024 01:06 PM)dm319 Wrote:  Thomas, I think, pondering about a way of implementing another language in plus42. Well I guess there is already the algebraic equation functionality, and I suppose keystroke programming is not dissimilar to assembly, so doesn't seem crazy to have a structured language compile down to RPN.

Absolutely. RPN with dynamic stack and local variables is a great target for code generation.

I keep thinking of implementing an RPL compiler in Plus42, I think that would be a fun project... although I should probably turn the type system into proper C++ first, and I don't know yet how to combine an HP-48/49/50 free-form command line with the highly modal command entry style of the HP-42S.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: TI Conditionals & Spaghetti Code - Thomas Okken - 06-03-2024 05:01 AM



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