Words are a serialization format for thought. There are different formats; there are also different bindings possible for the same information in the same format. Grammars are used to describe both. Actually, important early work on regular and context free grammars was done by a linguist.
Of course, none of that shows that thought is analogous to graphs of data structures. But I suspect if we ever develop direct brain-to-brain communication (i.e. prelinguistic telepathy), we'll see similar problems to interoperating programs written by different people at different times in different contexts for different purposes.