Questions tagged [iolanguage]

Io is a pure, prototype-based, object-oriented dynamic programming language.

Io is a prototype-based programming language inspired by

  • Smalltalk (all values are objects, all messages are dynamic),
  • Self (prototype-based),
  • NewtonScript (differential inheritance),
  • Act1 (actors and futures for concurrency),
  • Lisp (code is a runtime inspectable/modifiable tree)
  • and Lua (small, embeddable).

Features

  • BSD license
  • small vm (~10K semicolons)
  • multi-state (multiple VMs in same process)
  • incremental collector, weak links
  • actor-based concurrency, coroutines
  • 64bit clean C99 implementation
  • embeddable
  • exceptions

Philosophy

Io's goal is to explore conceptual unification and dynamic languages, so the tradeoffs tend to favor simplicity and flexibility over performance.

( sources iolanguage.com & Wikipedia )

65 questions
0
votes
1 answer

why passing the return value of an asNumber'ed string breaks io?

I just started the matasano security challenge, and thought about learning IO at the same time. So now, i'm stuck on challenge 1 where I need to convert a string to base64. Anyway i've come to the point where i need to convert from binary to…
Arkeopix
  • 77
  • 1
  • 7
0
votes
1 answer

Io Language: Exception: Sequence does not respond to 'openForReading'

I'm study "seven languages in seven weeks". On Io charpter, I run following example failed with following exception. #phonebook.io OperatorTable addAssignOperator(":", "atPutNumber") curlyBrackets := method( r := Map clone call message arguments…
Amitabha
  • 1,693
  • 2
  • 25
  • 42
0
votes
1 answer

Io's method scope

How does the Io's method scope work? When I define: method(x, x + 1) what object does slot x belong to? I tried self, call and even Object without any luck? For example in the REPL: slotNames is the same as Lobby slotNames in a…
Maciej Goszczycki
  • 1,118
  • 10
  • 25
0
votes
1 answer

Can't use local variable in method

I wrote following method to get all slot names of object (without slots of Lobby and highter): Object allSlotNames := method( result := list() object := self while(object != Lobby, result appendSeq(object slotNames) …
guest
  • 1,696
  • 4
  • 20
  • 31
-1
votes
1 answer

Io Language Fibonacci Problems

I'm working on an Io problem that involves the Fibonacci sequence. I'm trying to create a method that tests if a number is a Fibonacci number or not. I can't figure out why my IsAFib method isn't working, does anyone know why and what I can do to…
1 2 3 4
5