Io (programming language)
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 those in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and it uses dynamic typing. Like Lisp, programs are just data trees. Io uses actors for concurrency. Remarkable features of Io are its minimal size and openness to using external code resources. Io is executed by a small, portable virtual machine.
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 those in Self and NewtonScript, eliminating the distinction between instance and class. Like Smalltalk, everything is an object and it uses dynamic typing. Like Lisp, programs are just data trees. Io uses actors for concurrency. Remarkable features of Io are its minimal size and openness to using external code resources. Io is executed by a small, portable virtual machine. doStuff Assuming the above doStuff is a method, it is being called with zero arguments and as a result, explicit parentheses are not required. If doStuff had arguments, it would look like this: doStuff(42) Io is a message passing language, and since everything in Io is a message (excluding comments), each message is sent to a receiver. The above example demonstrates this well, but not fully. To describe this point better, let's look at the next example: System version The above example demonstrates message passing in Io; the "version" message is sent to the "System" object. Operators are a special case where the syntax is not as cut-and-dried as the above examples. The Io parser intercepts a set of operators defined by the interpreter, and translates them to method calls. For example, the following: 1 + 5 * 8 + 1 translates to: 1 +(5 *(8)) +(1) All operators in Io are methods; the fact that they do not require explicit parentheses is a convenience. As you can see, there is also a little bit of operator precedence happening here, and the precedence levels are the same as with the C precedence levels. "Hello, world!" println New objects are created by cloning objects. In Io specifically, a new, empty object is created and only the differences between it and its parent are stored within the new object; this behavior is known as differential inheritance. An example of this behavior is shown: A := Object clone // creates a new, empty object named "A" A simple non-recursive factorial function, in Io: factorial := method(n, if(n == 0, return 1) res := 1 Range 1 to(n) foreach(i, res = res * i) ) Because assignment of res * i to res is the last action taken, the function implicitly returns the result and so an explicit return expression is not needed. The above demonstrates the usage of ranges, and doesn't use a for() loop, which would be faster.
References
- The Io Programming Language · retrieved 2026-08-12 · rev 1369221385
Cite this reference
MLA "The Io Programming Language." 2026-08-12. https://www.bushido.codes/io-lang. Accessed 24 November 2026.
Chicago "The Io Programming Language." 2026-08-12. https://www.bushido.codes/io-lang.
APA encyclopegia.org. (2026). The Io Programming Language. Retrieved November 24, 2026, from https://www.bushido.codes/io-lang
- Guide – Io · retrieved 2026-05-08 · rev 1369221385
Cite this reference
MLA "Guide – Io." 2026-05-08. https://iolanguage.org/docs/Guide/index.html#introduction. Accessed 24 November 2026.
Chicago "Guide – Io." 2026-05-08. https://iolanguage.org/docs/Guide/index.html#introduction.
APA encyclopegia.org. (2026). Guide – Io. Retrieved November 24, 2026, from https://iolanguage.org/docs/Guide/index.html#introduction
- Io Programming: Writing Addons · retrieved 2023-06-21 · rev 1369221385
Cite this reference
MLA "Io Programming: Writing Addons." 2023-06-21. https://en.wikibooks.org/wiki/Io_Programming/Writing_Addons. Accessed 24 November 2026.
Chicago "Io Programming: Writing Addons." 2023-06-21. https://en.wikibooks.org/wiki/Io_Programming/Writing_Addons.
APA encyclopegia.org. (2023). Io Programming: Writing Addons. Retrieved November 24, 2026, from https://en.wikibooks.org/wiki/Io_Programming/Writing_Addons
- io guide · retrieved 2023-06-21 · rev 1369221385
Cite this reference
MLA "io guide." 2023-06-21. https://iolanguage.org/guide/guide.html#Syntax. Accessed 24 November 2026.
Chicago "io guide." 2023-06-21. https://iolanguage.org/guide/guide.html#Syntax.
APA encyclopegia.org. (2023). io guide. Retrieved November 24, 2026, from https://iolanguage.org/guide/guide.html#Syntax
- Io Releases · retrieved 2020-02-05 · rev 1369221385
Cite this reference
MLA "Io Releases." 2020-02-05. https://github.com/IoLanguage/io/releases. Accessed 24 November 2026.
Chicago "Io Releases." 2020-02-05. https://github.com/IoLanguage/io/releases.
APA encyclopegia.org. (2020). Io Releases. Retrieved November 24, 2026, from https://github.com/IoLanguage/io/releases
- Chapter 3: Io · retrieved 2026-11-17 · rev 1369221385
Cite this reference
MLA "Chapter 3: Io." Tate, Bruce (2010). 2026-11-17. https://archive.org/details/sevenlanguagesin00tate/page/60. Accessed 24 November 2026.
Chicago "Chapter 3: Io." Tate, Bruce (2010). 2026-11-17. https://archive.org/details/sevenlanguagesin00tate/page/60.
APA Tate, Bruce (2010). (2026). Chapter 3: Io. Retrieved November 24, 2026, from https://archive.org/details/sevenlanguagesin00tate/page/60
Cite this article
MLA
"Io (programming language)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/io-programming-language. Accessed 24 November 2026.
Chicago
"Io (programming language)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/io-programming-language.
APA
encyclopegia.org. (2026). Io (programming language). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/io-programming-language
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON