All Projects → Adrodoc → MPL

Adrodoc / MPL

Licence: GPL-3.0 license
A language to generate command blocks for Minecraft 1.9 and higher

Programming Languages

java
68154 projects - #9 most used programming language
groovy
2714 projects

Projects that are alternatives of or similar to MPL

urteile-gesetze-web
Web-Frontend des juristischen Informationssystems urteile-gesetze.de
Stars: ✭ 16 (-11.11%)
Mutual labels:  gplv3
yahdl
A programming language for FPGAs.
Stars: ✭ 20 (+11.11%)
Mutual labels:  antlr4
librecoop
Coop mode for dhewm3, open for everyone.
Stars: ✭ 41 (+127.78%)
Mutual labels:  gplv3
HuaweiCodeCraft2020
2020华为软件精英挑战赛
Stars: ✭ 14 (-22.22%)
Mutual labels:  gplv3
Mat-O-Wahl
🇩🇪 Mat-O-Wahl - Ein einfach zu bedienender, freier Open Source Wahl-O-Mat Klon fuer jedermann ### 🇬🇧 🇺🇸 A simple to handle, free "Voting Advice Application" / "Electoral Compass" alternative
Stars: ✭ 27 (+50%)
Mutual labels:  gplv3
antlr4-tool
A useful Antlr4 tool with full TypeScript support
Stars: ✭ 34 (+88.89%)
Mutual labels:  antlr4
foxreplace
Replace text in webpages
Stars: ✭ 72 (+300%)
Mutual labels:  gplv3
easyPokerHUD
This is the official repository for easyPokerHUD.
Stars: ✭ 40 (+122.22%)
Mutual labels:  gplv3
speedy-antlr-tool
Generate an accelerator extension that makes your Antlr parser in Python super-fast!
Stars: ✭ 22 (+22.22%)
Mutual labels:  antlr4
robots.txt
🤖 robots.txt as a service. Crawls robots.txt files, downloads and parses them to check rules through an API
Stars: ✭ 13 (-27.78%)
Mutual labels:  antlr4
GPLv3.md
GPLv3 in Markdown.
Stars: ✭ 27 (+50%)
Mutual labels:  gplv3
balistica
A open source ballistics calculator
Stars: ✭ 45 (+150%)
Mutual labels:  gplv3
libra
Java Predicate, supports SQL-like syntax
Stars: ✭ 30 (+66.67%)
Mutual labels:  antlr4
freecbt
✨🐙 A GPL Licensed Cognitive Behavioral Therapy app for iOS and Android
Stars: ✭ 49 (+172.22%)
Mutual labels:  gplv3
LangageLinotte
Code source officiel du langage de programmation Linotte - Langage de programmation en français simple créé dans le but de permettre aux enfants et aux personnes n'ayant pas une connaissance approfondie de l’informatique d’apprendre la programmation facilement.
Stars: ✭ 29 (+61.11%)
Mutual labels:  gplv3
java-ast
Java Parser for JavaScript/TypeScript (based on antlr4ts)
Stars: ✭ 58 (+222.22%)
Mutual labels:  antlr4
AutoAirplaneMode
✈️ Automatic Aiplane Mode for Android
Stars: ✭ 15 (-16.67%)
Mutual labels:  gplv3
Among-Us-Dumpy-Gif-Maker
A tool to make dumpy among us GIFS
Stars: ✭ 537 (+2883.33%)
Mutual labels:  gradle-wrapper
bsl-parser
Коллекция парсеров языка 1С (BSL) в формате ANTLR4.
Stars: ✭ 23 (+27.78%)
Mutual labels:  antlr4
parcera
Grammar-based Clojure(script) parser
Stars: ✭ 100 (+455.56%)
Mutual labels:  antlr4

Minecraft Programming Language (MPL)

Author: Adrodoc

What is MPL?

MPL is a language that makes it easier to write applications for Minecraft 1.9 or higher. The final result of compiling an MPL application are command blocks that can be imported into your world in various ways. MPL comes with it's own editor that supports syntax- and error-highlighting and has a built in compiler.

For an advanced example application written in MPL see ApertureCraft Vanilla

While MPL can be used to create very complex command block applications, it is also very easy to use for small projects. To use the command block generator you don't even need to know about any MPL specific syntax.

How To Use

You can find a full tutorial for MPL here.

There are multiple ways to compile .mpl files:

  • Open the file in the IDE and compile it by hand. You can find a detailed explanation in the tutorial.
  • Run the standalone compiler from the command line.
  • Compile MPL ingame using the Bukkit plugin MplManager by BrainStone.

License

MPL is licensed under GNU General Public License. Any application compiled by the MPL compiler is free from this license even if the compiler inserted standard MPL code templates.

It would still be nice if you give credit to MPL, for example by using the following command in the installation of your application:

/tellraw @a [{"text":"This project was created using the\n ","color":"yellow"},{"text":"Minecraft Programming Language ","color":"gold"},{"text":"[MPL]","color":"aqua","hoverEvent":{"action":"show_text","value":{"text":"Click to open GitHub","color":"red"}},"clickEvent":{"action":"open_url","value":"https://github.com/Adrodoc/MPL"}}]

Download

For manual use you can download the standalone compiler and IDE from GitHub.

MPL is also available both as library and standalone application at Sonatype OSS Maven Repository and Maven Central. To get MPL using Maven add the following to your pom:

<dependency>
    <groupId>de.adrodoc55.mpl</groupId>
    <artifactId>mpl-compiler</artifactId>
    <version>1.3.2</version>
    <scope>compile</scope>
</dependency>

In Gradle you can use the following example build.gradle:

apply plugin: 'java'

repositories {
  mavenCentral()
}

dependencies {
  compile 'de.adrodoc55.mpl:mpl-compiler:1.3.2'
}

Contributing

If you are missing a feature or just want to help out you can contribute to MPL by opening a pull request.

Here are some guidelines to make contributing easier:

  • The MPL Project is split into two parts, the compiler and the ide. Both of these directories are subprojects, that should be imported into your IDE.
  • You should configure your IDE to use the google java formatter.
  • All files should be encoded in UTF-8.
  • This project uses lombok. This does not make a difference on the command line, but depending on what IDE you use, you may have to install lombok into the IDE: https://projectlombok.org/setup/overview.
  • When using Eclipse configure the project by using the Gradle Wrapper and executing gradlew eclipse on a command line in the root directory.
  • Most tests are written in groovy. If you are using Eclipse you might want to use the greclipse plugin.

Building

MPL is built using Gradle. You don't have to install Gradle, because the project contains a Gradle Wrapper along with the source files. To build custom jar files execute gradlew build on Windows or ./gradlew build on Unix systems. The jar files will be created in the directories MPL/ide/build/libs and MPL/compiler/build/libs.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].