Io is a programming language created in 2002 by Steve Dekorte.
#493on PLDB | 22Years Old | 2kRepos |
Io is a pure object-oriented programming language inspired by Smalltalk, Self, Lua, Lisp, Act1, and NewtonScript. Io has a prototype-based object model similar to the ones in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and it uses dynamic typing. Read more on Wikipedia...
"Hello, world!" println
"Hello World\n" print
factorial := method(n,
if(n == 0, return 1)
res := 1
Range 1 to(n) foreach(i, res = res * i)
)
Feature | Supported | Example | Token |
---|---|---|---|
MultiLine Comments | ✓ | ||
Integers | ✓ | // \d+ | |
Floats | ✓ | // (\d+\.?\d*|\d*\.\d+)([eE][+-]?[0-9]+)? | |
Assignment | ✓ | := | |
Print() Debugging | ✓ | ||
Line Comments | ✓ | // A comment | // |
Operator Overloading | ✓ | ||
Comments | ✓ | ||
Semantic Indentation | X |