We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

GimmickLang

From Esolang
Jump to navigation Jump to search

GimmickLang

Overview

GimmickLang is an esoteric programming language where keywords double as variables, and commands are enclosed in curly braces `{}`. Additionally, loops have a 50% chance of sending the program back to the start, making it unpredictable.

Example Programs

Hello World

{PRINT "Hello, World!"}
 

Adding Two Numbers

{INP A}
{INP B}
{ADD A B C}
{OUT C}
 

Loop with Random Reset

{LOOP 10}
  {PRINT "Iteration"}
{END}
{PRINT "Finished"}
 

Special Features

  • **Random Reset**: During any loop, there's a 50% chance the loop will send the execution back to the beginning of the program, hardcoded into the interpreter.
  • **Curly Brace Requirement**: All commands must be enclosed in curly braces `{}`.

GimmickLang challenges you to code with unpredictable behavior and constraints, pushing your coding skills to the limit. CodePhantom (talk)