Lets list and discuss homoiconic languages: where code is represented in the language's natural data type and as such can be directly manipulated just like any other kind of data in the program:
1. newLiSP
2. Io Language
NOT SO FAST SCHEME AND COMMON LISP
Name:
Anonymous2012-05-26 4:44
io is pretty snazzy, but it's currently taking a do-over
You're now watching two strangers discuss your question!
Question to discuss:
Object-oriented programming is shit. It takes a perfectly valid approach to some simple problems, pretends it is a “silver bullet” and it poisons the mind and the computer with bloat like inheritance.
Stranger 2: yeah!!! Stranger 2: I didn't learn that but I'm going too sadly... Stranger 2: school obligation Stranger 1: sucks
mfw I realize scheme and common lisp is NOT a homoiconic language after all, despite all the morons claiming it is... THANK YOU OP!
Name:
Anonymous2012-05-26 7:15
You could make a S-exp-based C supported by a Lisp-like macro processor with high-level functions unusable from C. No program other than a Lisp implementation actually constructs a parse tree at runtime and eval it; they use functional magic instead of source code manipulation.
Homoiconicity is useless apart from permitting code sharing between run-time and compile-time.
Name:
Anonymous2012-05-26 8:17
chech em
Name:
Anonymous2012-05-26 9:04
Homoiconicity is useless until your code is also your macro expansion code
FTFY