Skip to content

lrmulkayhee/malbolge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Malbolge

This repository contains a Malbolge interpreter written in Python and a simple "Hello, World!" program in Malbolge.

Files

  • malbolge.py: The Python-based Malbolge interpreter.
  • helloworld.mal: The Malbolge "Hello, World!" program.

Running the Interpreter

To run the Malbolge "Hello, World!" program, follow these steps:

  1. Ensure you have Python 3 installed on your system. You can check this by running:
    python3 --version
  2. Clone this repository and navigate to the directory:
    git clone <repository-url>
    cd malbolge
  3. Ensure the helloworld.mal file exists in the directory:
    ls
  4. Run the Malbolge interpreter with the "Hello, World!" program:
    python3 malbolge.py helloworld.mal
    

You should see the output "Hello, World!" printed to the terminal.

Malbolge "Hello, World!" Program

The content of helloworld.mal is as follows:

(=<`#9]~6ZY32Vw0/@;:o

another way to code Hello, World in malbolge is:

('&%:9]!~}|z2Vxwv-,POqponl&%$#"

Malbolge Interpreter

The Python-based Malbolge interpreter (malbolge.py) is designed to interpret and run Malbolge programs. The interpreter reads the Malbolge code from a file and executes it.

Usage

To use the interpreter with any Malbolge program, run:

python3 malbolge.py <filename>

Replace with the path to your Malbolge program file.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages