steaDfasTly Cover wiTh mesh
|
11-25-2022, 03:02 PM
Post: #1
|
|||
|
|||
steaDfasTly Cover wiTh mesh
It is that time of year when our thoughts turn to less mathematical themes... you know what I'm referring to, of course. Code obfuscation! What else did you think I meant!
Well, one of my favorites of this category has always been the "xmas.c" code that generates the lyrics to that seasonal song which is the musical analogy to the food world's fruitcake: "The Twelve Days of Christmas". In this particular case, it seems more appropriate to translate that title to an anagram: "steaDfasTly Cover wiTh mesh " (hence the thread title). I submit the following with the utmost respect for the inspiration provided by Ian Phillipps with his original "xmas.c" code. I've gone out of my way to circumvent anything which would provide even accidental self-documentation or clarity to the code. It requires the use of the ListExt library, so is limited to 49G/49g+/50g calculators. The code uses trigraphs (eg. "\->" instead of "→") for portability. The INOUT program from this post can be used to convert the source text into an executable program. I promise you, this actually works: Code: \<<"dqj dgg, atis bSnhc. elg egxa aij mo jrC ihe nnl nh side njwv uphjd jre juhe The execution of this program is best observed by single-stepping through the code. There's no loops, and the bulk of the source code is executed in the very first step when a string is placed on the stack. It doesn't take very long to step through the rest of the program, and I encourage you to try it. Here's one way to step through the code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)