/dfmatic

A transpiled language for the Diamondfire Minecraft server.

Primary LanguageJavaApache License 2.0Apache-2.0

DFMatic

A toy programming language that transpiles to the Diamondfire Minecraft server.

How To Use

  1. Download the JAR from the releases section.
  2. Run the JAR with the file path of the source code. java -jar dfmatic.jar mySourceCode.dfm
  3. For CodeUtils/ItemAPI support use the flag -c (like java -jar dfmatic.jar mySourceCode.dfm -c). Although, the integration is very buggy.

Check out the wiki for documentation!

Credit

  • WLGRXD for the idea behind code block serialization.
  • lukecashwell for the creation of Spark, a huge inspiration for this project.
  • Robert Nystrom, author of Crafting Interperters, a book about creating your own programming language.