infoWhat is PMCView3D? Read the Schemagic feature announcement for more info.

Minecraft Maps / Redstone Device

Simple Ingame Minecraft Programming Language - SIMPL

  • 1,682 views, 2 today
  • 103 downloads, 0 today
TZF avatar TZF
Level 16 : Journeyman Miner
6
-->Feel free to ask me if you have questions.
Minecraft Programming Language By TZF
This is a simple Programming Language in Minecraft.
It works with blocks instead of words.


!! The high-level language is under development see at the end of this

Now has a compiler so you can write your programs in a text editor and then compile and import them.
-> just look under datapacks\pcData\SIMPLECompiler
-> there are multiple examples(mainly for the simple compiler and not for the new one)
-> compile them by changing the file name in compiler.py(at the end) then executing that python(python 3) script.
-> /reload ingame
-> click load under the left side of the screen(ingame)

-> For multithreading look into the readme or ingame for an explanation


Commands include for example:
Add
Subtract
And
Or
Jump
Jump if zero
push
pop
increment
decrement

Screen Commands:
setPixel
fill
setColor
fillCollumn
fillRow
set Sprite address
draw sprite at
test for block at


IMPORTANT
All Variables are Global
ZERO,ONE,TWO are standard existing variables for calculations(don't permanently save data in them)
No returns in Methods but this shouldn't be a problem because All Variables are global

Save your code into a file with the ending ".hs" and change the file variable at the end of compiler.py and execute it then go into Minecraft and execute /reload then click the load button under the left side of the ingame screen.

Examples for the current commands
arr 5 c
c[1]=20
b = 4
a = 5+(32-b)
if(a==b){b=4}
do{b=b+1}while(c[1]!=b)
def m(ONE){a = ONE}
m(a)
This programm above works if you want to test
CreditTZF
Progress40% complete
Tags

31 Update Logs

Update #31 : 08/21/2019 11:26:16 amAug 21st, 2019

Added a Converter which allows to convert images to 8x8 sprites automatically. You just need to specify the folder with the images.
The Memory location of the sprites are alphabetically.
Example with Mario included+loaded

Only supports 23 Blocks/Colors at the time. It tries to convert all colors to the block colors.

+ Increased Performance
+ now 1.14.4
LOAD MORE LOGS

Create an account or sign in to comment.

1
11/22/2019 9:49 pm
Level 25 : Expert Engineer
ferodaboy
ferodaboy avatar
could you do this without the need for Python Scripts? +1 DIAMOND
(In a case where you are using Redstone ROM instead of blocks)
1
12/11/2018 7:01 am
Level 1 : New Miner
Flamore
Flamore avatar
Woah! Finally programming in Minecraft without mods! (+1 Diamond)
1
10/25/2018 12:35 pm
Level 1 : New Explorer
JustAiden05
JustAiden05 avatar
Wow! This is really cool, I've never seen anybody do anything like it
1
10/18/2018 4:09 pm
Level 37 : Artisan Dragon
INSANE GAMER
INSANE GAMER avatar
cool
1
05/31/2018 6:42 pm
Level 28 : Expert Engineer
garlicbreathinator
garlicbreathinator avatar
This would be so much easier to program/faster in the snapshot versions, but it looks cool so far!
1
09/19/2018 10:12 am
Level 16 : Journeyman Miner
TZF
TZF avatar
Updated it to 1.13
It is now running 1 Command per tick
But I Still, need to add some things
1
09/20/2018 8:06 pm
Level 28 : Expert Engineer
garlicbreathinator
garlicbreathinator avatar
I made a similar language in my WIP adventure map (check it out on my profile) that was used to control a robot through a level and could run at 1 command/tick until I toned it down to allow players to see what was going on and to let me program other features that take place between the robot's actions (like conveyor belts and switch-powered doors). You could probably utilize the system I used for functions and conditional statements for your project. I'd help you set it up if you'd like.
1
05/31/2018 6:06 pm
Level 17 : Journeyman Architect
Hoxed
Hoxed avatar
looks not so simple :^
1
04/17/2018 12:13 am
Level 23 : Expert Theorist
Coolboy100_
Coolboy100_ avatar
So what does it do?
1
04/17/2018 11:34 am
Level 16 : Journeyman Miner
TZF
TZF avatar
You can write Assembly like code with Blocks and then execute it
1
12/23/2016 10:26 am
Level 9 : Apprentice Engineer
ScorpioX
ScorpioX avatar
would be good if you tell us more about it here because people don't understand what it does
1
12/26/2016 5:44 pm
Level 16 : Journeyman Miner
TZF
TZF avatar
i will try to do that as good as i can
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome