R
Project BlueBird
Output
Browser
Terminal

Press Execute to run your code

Type a URL above and press Enter to navigate

$ Ready — run code to see terminal output
Execute Mode, Version, Inputs & Arguments
REN 0.1.0_alpha
Command Line Arguments
Stdin Inputs
Interactive
Errors and Evaluation

No errors detected

Ready
Ln 1, Col 1
Ren
0 chars
Example Programs
👋 Hello World
📦 Variables & Math
🔀 Conditions
🔁 Loops
⚙️ Functions
📋 Lists
🏗️ Classes & OOP
🎯 FizzBuzz
🐚 Fibonacci
📊 Sorting Algorithms
🧮 Calculator
📘 Ren Language Reference
Variables & Types
number x = 42
text s = "hello"
bool ok = true
list xs = [1, 2, 3]
const PI = 3.14
any val = "anything"
Control Flow
if x > 5
  …
elseif x > 2
  …
elseend
for i = 1 to 5
  print i
end
for x in list
  print x
end
while x < 10
  x = x + 1
end
repeat 3
  print "hi"
end
match val
  case 1 …
  default
end
Functions & Classes
function add(a, b)
  return a + b
end
class Dog
  function init(n)
    self.name = n
  end
end
Dog d = new Dog("Rex")
Error Handling
try
  …
catch err
  print err
finally
  …
end
raise "oops!"

-- Comments: --
--- Block ---

break / continue
Built-in Functions
printprintrawlen()toText()toNumber()toBool()sqrt()abs()floor()ceil()round()pow()upper()lower()trim()split()join()contains()replace()append()remove()sort()reverse()range()first()last()random()randint()isNull()
⌨️ Keyboard Shortcuts
Run / Execute code
F5
Find in editor
Ctrl+F
Next find match
Enter in find bar
Previous find match
Shift+Enter
Indent line
Tab
Dedent line
Shift+Tab
Toggle fullscreen
F11
Close any dialog
Esc
💡 Tips: Use print to output with newline, printraw without newline. Strings use "double quotes" only.