TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How Io language is Homoiconic?

1 pointsby kannangceover 2 years ago
It&#x27;s being mentioned that Io language is homoiconic.<p>To me homoiconic means &quot;Expressing the language in the data-structure of the same langage&quot; . For exp, LISP, is all LISP list.<p>I&#x27;m trying to understand Io is homoiconic?<p>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.<p>For example, can someone explain how this statement is homoiconic,<p>``` Number &#x2F; := method (i, if (i != 0, self origDiv(i), 0) )<p>```

1 comment

compressedgasover 2 years ago
If this is Steve Dekorte&#x27;s Io, then the Io page that was at <a href="http:&#x2F;&#x2F;www.iolanguage.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.iolanguage.com&#x2F;</a> stated in 2004 that it was like LISP in that &quot;code is a runtime inspectable&#x2F;modifiable tree&quot;. This is not homoiconic in terms of syntax of rather in terms of data model.<p>Io is so in perhaps the same way as Pico <a href="http:&#x2F;&#x2F;pico.vub.ac.be&#x2F;" rel="nofollow">http:&#x2F;&#x2F;pico.vub.ac.be&#x2F;</a> is because Pico expresses the code as data type though of specific types which are not normally used for user program data.