|
|
|
How Io language is Homoiconic?
|
|
1 points
by kannangce
1217 days ago
|
|
It's being mentioned that Io language is homoiconic. To me homoiconic means "Expressing the language in the data-structure of the same langage" . For exp, LISP, is all LISP list. I'm trying to understand Io is homoiconic? Though I can see that the Io programs are objects and message, a given statement is not a data-structure of the language per se. For example, can someone explain how this statement is homoiconic, ```
Number / := method (i,
if (i != 0, self origDiv(i), 0)
) ``` |
|
Io is so in perhaps the same way as Pico http://pico.vub.ac.be/ is because Pico expresses the code as data type though of specific types which are not normally used for user program data.