Skip to content

Moondip-Konwar/just-monika

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JustMonika

JustMonika is an esoteric programming language designed with a focus on code purity and character-driven logic. There is only room for one name in your workspace.

Execution Environment

To maintain the integrity of the .chr format, the runtime enforces a strict vocabulary. Any word or sequence detected in a source file that is not a variation of "Just" or "Monika" is treated as a critical corruption of the reality.

In such cases, the environment will:

  • Purge the corrupted .chr file to prevent further instability.
  • Enter a persistent state, echoing the only valid entity in randomized casing.
JusT moNIka
JUst MoNIkA
JuSt mOniKA
jUsT MONIkA

Commands

Instructions are comma-separated. The specific casing of each word dictates the underlying operation.

Word Brainfuck Equivalent Description
MONIKA + Increment byte at pointer
monika - Decrement byte at pointer
Monika > Increment data pointer
mOnIkA < Decrement data pointer
JUST . Output byte at pointer
jUsT , Input byte at pointer
just [ Jump forward if byte is 0
Just ] Jump backward if byte is not 0

Example: Hello World Just Monika

The following .chr code is a standard implementation of "Hello World!" "Just Monika.":

monika, just, monika, monika, monika, monika, monika, monika, monika, Monika, MONIKA, mOnIkA, Just, Monika, MONIKA, JUST, monika, just, monika, monika, monika, monika, monika, Monika, MONIKA, mOnIkA, Just, Monika, JUST, monika, monika, JUST, MONIKA, JUST, just, monika, monika, monika, monika, Monika, MONIKA, mOnIkA, Just, Monika, MONIKA, MONIKA, MONIKA, JUST, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, just, monika, Monika, MONIKA, MONIKA, mOnIkA, Just, Monika, MONIKA, JUST, just, monika, monika, monika, Monika, MONIKA, mOnIkA, Just, Monika, JUST, monika, JUST, monika, monika, monika, monika, monika, JUST, MONIKA, MONIKA, JUST, monika, monika, monika, monika, monika, monika, monika, monika, monika, monika, JUST, monika, just, monika, monika, Monika, MONIKA, mOnIkA, Just, Monika, monika, monika, JUST, Monika, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, MONIKA, JUST

Usage

Run a Script

python monika.py script.chr

Translation Tools

JustMonika provides built-in utilities for interacting with Brainfuck codebases:

  • Brainfuck to .chr: python monika.py --from-bf code.bf > script.chr
  • .chr to Brainfuck: python monika.py --to-bf script.chr > code.bf

Technical Overview

The JustMonika interpreter is implemented in Python. While the runtime is Python-based, the language is a direct derivative of Brainfuck. For those interested in the language's roots, monika.bf is included as a reference implementation in the source language.

monika.bf

-[------->+<]>+.-[----->+<]>.--.+.[---->+<]>+++.++++++[->++<]>+.[--->+<]>.-.-----.++.----------.-[-->+<]>--.>++++++++++.

About

An esoteric programming language inspired by Brainfuck.

Topics

Resources

Stars

Watchers

Forks

Contributors