The goal here is to implement memory by using block.
I want to give command blocks index-able memory. I figured using blocks would be the most logical thing to do since they're... everywhere. I see they each have block ID's as shown here:
I know the scoreboard can do some kinds of arithmetic operations. Possibly enough to serve as a naive "processor" to go hand in hand with the "memory". Naturally then I need to somehow get the block id of some block at an arbitrary position into the scoreboard. I know that theoretically one could just use this function (https://minecraft.gamepedia.com/Commands#testforblock) and just use that. However, the only problem with that is that checking 256 blocks is bridging from being inefficient to downright absurd. There has to be a better way. Is there a command to look up a block ID at some position and then move it to the scoreboard?