The Bytecode Club
Malbolge.c4J - Malbolge '98 interpreter ported over to Java. - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Software (https://the.bytecode.club/forumdisplay.php?fid=19)
+--- Forum: Java Projects / Libraries (https://the.bytecode.club/forumdisplay.php?fid=136)
+--- Thread: Malbolge.c4J - Malbolge '98 interpreter ported over to Java. (/showthread.php?tid=46026)



Malbolge.c4J - Malbolge '98 interpreter ported over to Java. - Konloch - 10-08-2023

Malbolge.c4J is written to be an authentic port of the original '98 malbolge.c to Java.

The goal was to preserve as much of the original C as possible, doing the minimum required changes to port it over to Java.

Click here to view the project source code

Click here to download the latest release


How To Use
Start by downloading the latest release, then download a malbolge script to run.

hello_world.malbolge
Code:
('&%:9]!~}|z2Vxwv-,POqponl$Hjig%eB@@>}=<M:9wv6WsU2T|nm-,jcL(I&%$#"
`CB]V?Tx<uVtT`Rpo3NlF.Jh++FdbCBA@?]!~|4XzyTT43Qsqq(Lnmkj"Fhg${z@>

Code:
java -jar Malbolge.c4J.jar hello_world.malbolge

This will interpret the malbolge script.