GlyphCode

From Esolang
Jump to navigation Jump to search

GlyphCode

Overview

GlyphCode is an esoteric programming language that uses an array of unique glyphs to perform operations. The complexity of the glyphs makes deciphering the code a challenge, ensuring a mind-bending coding experience.

Basic Commands

  • ☀ (U+2600) - Start the program
  • ☽ (U+263D) - Print command
  • ✶ (U+2736) - Addition
  • ✂ (U+2702) - Subtraction
  • ➡ (U+27A1) - Move to the next position
  • ⬅ (U+2B05) - Move to the previous position
  • ⬆ (U+2B06) - Increment the value at the current position
  • ⬇ (U+2B07) - Decrement the value at the current position
  • ❄ (U+2744) - Input a value
  • ❌ (U+274C) - Output the value at the current position
  • ☯ (U+262F) - Begin a loop (continues until the value at the current position is zero)
  • ☮ (U+262E) - End a loop

Example Programs

Hello World

☀⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆☯⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅⬅❌➡⬆⬆⬆⬆⬆➡❌➡⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆⬆❌➡⬆⬆➡❌⬆➡❌➡❌⬅⬅⬅❌➡⬆⬆❌➡❌➡⬆⬆⬆⬆⬆❌
 

Addition with Input

❄➡⬆➡❄⬆⬆➡❌
 

Looping

➡⬆☯❄❌☮
 

GlyphCode invites you to decipher and master the intricate dance of glyphs and commands. Are you ready to embrace the weird and wonderful world of GlyphCode? CodePhantom (talk)