This DataPack is a C-Minus (a tiny subset of C Language) Compiler using Minecraft McFunction as its language.
Install it as a Minecraft Data Pack in a world in Minecraft: Java Edition.
Run function c-:display/ to open the code interface where you can input your C-Minus code.
In the interface, after inputing your code, click "Save" button to save and compile the code.
Then you can run function c-:display/midcode/ to see the midcode generated by the compiler,
or click the "Run" button to run the code.
As this pack does not provide an I/O function set, the only code feedback is the return value of function main().
LeatherSword the Leathern Thoughts - Initiator and Original Contributor