MCHPR / MCHPRS

A multithreaded Minecraft server built for redstone.
MIT License
1.55k stars 68 forks source link

Refactor passes/compiler and add a lot of features #139

Closed Paul1365972 closed 4 months ago

Paul1365972 commented 6 months ago

I extracted all the non destructive changes from my feature branches into one "nice" PR. A lot of the changes are useful by themself. However this is mostly so I don't go insane rebasing stuff every few weeks, as my branches have diverged too far from the main branch by now.

Changelog:

Paul1365972 commented 6 months ago

I took some time to separate most of the changes, the "Overhaul redpiler compilation" (7a20fc4) commit is still huge, but it was too difficult to disentangle all of those changes

Paul1365972 commented 5 months ago

Yeah I thought about the case where the analog repeater output is not a comparator as well, I believe it shouldn't matter, but I think I'll add it anyways, just in case. Any ideas to make the analog_repeaters pass more readable and easier to understand? I'm not really happy with how complicated it is.