Loading Editor...

more_vert

Ellie Playground

About

This is a playground for Ellie. It is a simple editor that allows you to write code in Ellie. You can run the code and see the output.

Language Items
  • Variables
  • v variable_type = 123;
    c constant_variable = 123;
  • Loop
  • v continue = true;
    loop continue {
    println("Hello World");
    }
  • If Else
  • if true {
    println("Hello World");
    } else if false {
    println("Hello World");
    } else {
    println("Hello World");
    }
  • Functions
  • pub fn function_name(parameter_name: parameter_type : return_type {
    ret 123;
    }
Types
  • Boolean
  • v positive: bool = true;
  • Integer
  • v age: int = 123;
  • Float
  • v pi: float = 3.14;
  • Double
  • v pi: double = 3.14;
  • String
  • v name: string = "Ellie";
  • Char
  • v first_char: char = 'E';
Examples