3 ms·
Programming in System RPL
- cjsuk 9y agoAs a former RPL programmer out of self interest, I think I’d rather gouge my eyes out now. It’s one of those languages, like Perl, where you come back to a project later and can’t understand any of it or remember how to write it. I respect people who managed to build a working CAS in it however! I still own an HP50g for the sake of nostalgia but it has been replaced with python and a new Casio FX-991EX now.
- dm319 9y agoDoes the casio run python? I like the idea of having a portable machine I can write quick programs in, but some of these calculator languages are horrible. I'd rather write it in something a bit more mainstream like python or R. The numworks calculator[1] has got a kinda beta implementation of python. The other device I was thinking of was the Gemini (modern day psion) or something similar. [1]https://www.numworks.com https://www.numworks.com
- cjsuk 9y agoNo it doesn't. It's really just a scientific calculator with a solver built in. It handles perhaps 95% of my requirements pretty well. Anything more complicated than that heads to a mac. I've been using scipy, matplotlib and sympy on that. The basic graphing calculators from Casio, while not overly powerful have a programming language that you can effectively drive on the device very easily. I've seen people do some amazing stuff on them.
- yiyus 9y agoAlthough I agree with your general feeling (RPL is mostly a write-only language), RPL is still a quite valid language to add useful formulas in some menus. For example, I still have many programs for electrical circuits, like adding resistances in parallel, and those ones are easy to understand. Full programs with many functions and branches? I had no idea what I was doing.
- cjsuk 9y agoThat's exactly what I was using mine for. << INV SWAP INV + INV >> 'RPAR' STO Then I realised I don't bother with it. Can get close enough in my head. I only want to solve for one variable so the Casio gets full marks there.
- JohnStrange 9y agoI'm still looking for an ideal calculator, a fully programmable ruggedized device with a small form factor, a powerful CAS, an outstanding keyboard, clock and alarm, a sun-readable display (e-ink), and, most importantly, weeks of battery life. But I have to second cjsuk, User RPL and System RPL are not programming languages you'd want to use nowadays for larger projects. Personally, I'd like to see Lisp on such a device, but any kind of Basic, Pascal or Lua like language with built-in hashtables and structures should be fine. Anyway, as it looks now, the HP50g will be the last calculator I own. The companies apparently think that the market isn't big enough. I believe there is a demand for a machine like the above one, especially if it's also water proof, but maybe I'm wrong.
- cjsuk 9y agoI get the feeling it will never happen. The nearest thing to this was the TI Voyage 200. Everything went downhill after that.
- agumonkey 9y agoWith enough dedication you can program an arm chip or an ESP32 (dual core 32bits 100MHz) < 10$ a piece. eInk displays are also below 10$ but except for very recent and/or expensive models the refresh rate is not appropriate (unbearable IMO)
- zokier 9y ago
- sysrpl 9y agoLet me tell you about sysrpl. I'm well.
- eeks 9y agoRPL is a fine language. System RPL gave me Tourette’s syndrome.
- flavio81 9y agoLOL, i recall programming in RPL and considering doing SystemRPL but it looked as hard as programming the HP48 in assembly, without assembly's performance (which was way faster than "user" RPL, by the way.)
- agumonkey 9y agoOh, Carsten Dominik again.. I forgot he was a long time RPLer. And now an Emacs REPLer. Funny how many HPcalc users naturally liked Emacs