CurlyScript

Assembly - Never Enough Braces Edition

"For those who think JavaScript doesn't have enough curly brackets"

Welcome to CurlyScript, the esoteric programming language designed specifically for developers who just can't get enough curly brackets in their life! If you've ever looked at code and thought "this needs more {}", then you've found your new favorite language.

CurlyScript is a minimalist assembly-like language where literally everything is made of curly brackets. Numbers, commands, data types - it's curly brackets all the way down! Perfect for when you want to confuse your coworkers or just embrace the bracket life.

Quick Syntax Reference

Commands

Command Description
{} [num] [type] SET cell to number
{}} MOVE pointer RIGHT
{{} MOVE pointer LEFT
{{}} PRINT current cell
{{{}}} PRINT newline

Number Encoding

Each digit = (bracket_count - 1)

} = 0 (1 bracket - 1) }} = 1 (2 brackets - 1) }}} = 2 (3 brackets - 1) }}}} = 3 (4 brackets - 1) }}}}} = 4 (5 brackets - 1) Examples: }} = 1 }}}}}}}}{{{ = 72 (H in ASCII) }}{}}}}} = 105 (i in ASCII)

Data Types

Type Description
{{}} ASCII character
}} Numeric digit

Binary Operations

Operation Command
ADD {}{}
SUBTRACT {}{}{}
MULTIPLY {}{}{}{}
DIVIDE {}{}{}{}{}

CurlyScript Playground

Examples:
📝 CurlyScript Code
💻 Output
Click "Run Code" to execute your CurlyScript program!