RyuGod
Programming Language Collector
Hello, World!
examples
closure
mutual_recursion
pattern_matching
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#
#   Amber: closure
#   https://github.com/nineties/amber
#
make_counter() := {
    n := 0
    return () -> { n += 1 }
}
counter1 := make_counter()
counter2 := make_counter()
puts(counter1())
puts(counter1())
puts(counter2())
puts(counter1())
puts(counter2())
Enter to Rename, <Shift>+Enter to Preview
TerminalInput valueWebOutput
W