Auto-generated Constants Program

Contributions to this software library are always welcome. Please ensure that you post program listings rather than .raw files. They give a reasonable idea of what your program does without having to load them into a DM42 and you can also include comments in your code. Check out the following link for a decoder/encoder: https://technical.swissmicros.com/decoders/dm42/

You can then copy/paste the listing and post it in "code" tags.
Post Reply
richmit
Posts: 25
Joined: Tue Feb 16, 2021 2:51 am

Auto-generated Constants Program

Post by richmit »

I have recently started rewriting all my old programs using the new and improved functionality in free42. Figured I would post them on github in case they might be useful to someone else.

This fifth installment is a constants program; however, the program is not the interesting part. The interesting part is the org-mode document that *writes* the program. In essence you populate a table in the document, and then Emacs writes the 42s program. I'll be posting another program shortly that takes a similar approach to CUSTOM menus.

https://richmit.github.io/hp42/cons.html
Post Reply