Post Reply 
newRPL - build 1255 released! [updated to 1299]
06-13-2019, 04:10 AM
Post: #502
RE: newRPL - build 1255 released! [official and unofficial]
(06-11-2019 11:00 PM)wyatt8740 Wrote:  Is there some way I could use newRPL as a sort-of-replacement for 'dc' as a text-based calculator in a terminal?

Yes, as a matter of fact, that's exactly what the simulator was before we introduced the GUI. Right now some libraries depend on the GUI, but you don't need to display it, just provide memory for it.


(06-11-2019 11:00 PM)wyatt8740 Wrote:  i.e., a way that I can pipe RPL as text to standard input, and have the software print the results?

That's quite easy to get working. The standalone compiler newrpl-comp does something similar: reads a text file, you could easily read a line from stdin instead, then it compiles it (one single call to rplCompile() achieves that), and then dumps the object to another file. You could very well EVAL the object and then decompile to text the resulting stack objects, then output them to stdout.

(06-11-2019 11:00 PM)wyatt8740 Wrote:  Additionally, I'd also like a way to use the simulator without showing the on-screen keyboard, which takes up a ton of screen space and isn't always necessary for simple tasks.
Never thought of that, it's easy enough to add so sure, why not.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: newRPL - build 1001 released! - pier4r - 12-16-2017, 08:03 AM
newRPL - on Hp 39gs - Martin Hepperle - 06-05-2019, 06:51 AM
RE: newRPL - build 1001 released! - pier4r - 12-23-2017, 10:16 AM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 09:42 AM
t - Claudio L. - 01-01-2018, 03:06 PM
RE: newRPL - build 1001 released! - pier4r - 01-01-2018, 03:41 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 04:54 PM
RE: newRPL - build 1001 released! - pier4r - 01-02-2018, 06:58 PM
newRPL - brickviking - 10-05-2018, 06:01 AM
RE: newRPL - build 1255 released! [official and unofficial] - Claudio L. - 06-13-2019 04:10 AM
How to participate? - erazor - 12-13-2019, 07:12 AM



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