Skip to main content
added 200 characters in body
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

Brain-Flak ClassicBrain-Flak, 1816 bytes

([()]){[(({}){})]}

Try it online!Try it online!

# Push (and print) a 1
([()])

# While True...
{
    # Print...
    [
        # Double the value on top of stack
        (({}){})
    ]
}

Brain-Flak Classic, 18 bytes

([()]){[(({}){})]}

Try it online!

# Push (and print) a 1
([()])

# While True...
{
    # Print...
    [
        # Double the value on top of stack
        (({}){})
    ]
}

Brain-Flak, 16 bytes

(()){[(({}){})]}

Try it online!

# Push a 1
(())

# While True...
{
    # Print...
    [
        # Double the value on top of stack
        (({}){})
    ]
}
Source Link
DJMcMayhem
  • 59.6k
  • 17
  • 196
  • 348

Brain-Flak Classic, 18 bytes

([()]){[(({}){})]}

Try it online!

# Push (and print) a 1
([()])

# While True...
{
    # Print...
    [
        # Double the value on top of stack
        (({}){})
    ]
}