RyuGod
Programming Language Collector
Hello, World!
examples
Class
Closure
Fibonacci
For
Samples
Scope
While
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//
//  Lox: samples
//  https://github.com/benhoyt/loxlox
//
for (var i = 1; i < 5; i = i + 1) {
    print i * i;
}
class Duck {
    init(name) {
        this.name = name;
    }
    quack() {
        print this.name + " quacks";
    }
}
var duck = Duck("Waddles");
duck.quack();
fun make_adder(n) {
Enter to Rename, <Shift>+Enter to Preview
TerminalInput valueWebOutput
W