Skip to content

LeatherSword/McFunction-C-Minus-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

McFunction C-Minus Compiler Pack

This DataPack is a C-Minus (a tiny subset of C Language) Compiler using Minecraft McFunction as its language.

Install and Run

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().

Credits

LeatherSword the Leathern Thoughts - Initiator and Original Contributor

About

A Minecraft McFunction C-Minus Compiler.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages