r/hpcalc • • 3d ago

qr code, code39 barcodes

Post image
61 Upvotes

8 comments sorted by

2

u/PartlyGrouchy 3d ago

This is awesome! Would it run on a 50g?

3

u/ebiker_fi 3d ago

I'll have to see! it's a bit of an archaeology project to set up a development environment for these things these days :) i'd guess the 49g and 50g likely are source code compatible but need their own entry points.

2

u/PartlyGrouchy 2d ago

I am just getting started with SysRPL on the 50g. What's a good strategy? Do you write first in UserRPL then convert? I'm writing fairly simple programs and would prefer not to use AI.

2

u/ebiker_fi 2d ago

whatever tool works best? I'd check debug2x if you have a windows computer, I don't, that's why I unearthed the old commandline tools. some sort of a debugger and an emulator helps so that you can quickly recover from a crash that nukes the calculator memory (it will happen). Also i'd skip the trying it out on userrpl part, you can't do most of the interesting stuff at all in userrpl anyway, it's better to get acquainted with all the fun you can do in sysrpl.

regarding development, i just usually compile and run and test often when writing a sysrpl program, so that when only partway done you can verify that whatever you already wrote does at least something and leaves something expected on the stack.

also, reading sources by others helps to pick up idiomatic uses of the language. like how to define and assign things to nulllams including small "functions" inside your program, how type dispatch works, etc.

i learned sysrpl in the 1990s by buying and reading the sysrpl&saturn book by Jim Donnelly, i still have it and use as a reference. a good reference is key, it takes some time to memorize even a small amount of all the funny small sysrpl words.

1

u/PartlyGrouchy 1d ago

That's good advice, thank you

4

u/eredhuin HP-48GX 2d ago

I recently used claude code to edit some 30+ year old library codes I had written. It was able to update the entry points for 49g/50g - plus add logic for the 80 line screen in the 50g.

1

u/lathe26 3d ago

Hello localhost

1

u/PartlyGrouchy 2d ago

Hello lathe26. You have some treasures on your YouTube channel! Thanks for posting them.