|
|
|
|
|
by davelnewton
3943 days ago
|
|
Homoiconicity specifically means that the primary representation of the language is a datatype in the language itself; Erlang isn't that. I don't find it particularly subjective, it's just what it means. According to what you're saying any language that can be parsed and manipulated by the language is homoiconic, since the AST can be represented by types available in the language, no? |
|
Literal datatype.
And please, prove it to me that "Erlang isn't that". My examples above indicate quite clearly that yes, it is.
> I don't find it particularly subjective,
I was referring to the word "similar" which appeared in the definition of homoiconicity given by flackjap.
> since the AST can be represented by types available in the language, no?
Yes, if the datatypes used in AST representation have literal forms in the language. No otherwise.