Europa Lang
This language aims to be simple, minimal, and compact. There will not be any classes whatsoever, and importing other files should be painless.
Example
use Math;
use Io;
Io.println("Hello, World!");
var input = Io.stdin.readline();
Io.println("You said: " + input);
Io.println("Random Number 0..1: " + Math.random());
var struct = {{
a_sruct = 'strings can look like this too'
}};
Io.println(struct.a_struct);
fn add_two(a, b) {
return a + b;
}
var a = true;
var b = true;
while true {
if a == b {
break;
} elif a != b {
continue;
} else {
break;
}
}
var array = [1, 2, 3];
for i in array {
Io.println(i);
}
Credits
- @justamirror and Dart for name and language design suggestions.
- @CoolCoderSJ for creating the discord server, along with language design suggestions!
- @SixBeeps for designing the Europa logo!