4 ms·
By "homoiconic" do you mean that the language would be expressed as a table (unordered multiset of tuples)? Interesting thought experiment, but it sounds prett
by jeffdavis 12y ago
By "homoiconic" do you mean that the language would be expressed as a table (unordered multiset of tuples)?
Interesting thought experiment, but it sounds pretty radical.
- vfclists 12y agoTo be honest I have no idea what homoiconic means. I think it means that everything is the same, ie whether a function in the case of functional languages like Haskell, or an object in languages like Smalltalk.
- jeffdavis 12y agohttp://en.m.wikipedia.org/wiki/Homoiconic http://en.m.wikipedia.org/wiki/Homoiconic "In a homoiconic language the primary representation of programs is also a data structure in a primitive type of the language itself. This makes metaprogramming easier..." For lisp, that means programs are are also lists, so can be manipulated with macros easily (because lisp macros are also lisp, which is good at working with lists). For a relational language, that would mean the programs are also relations, which would be a little weird because relations are unordered.