
30 Aug
2008
30 Aug
'08
4:41 p.m.
On 2008-08-30, Johannes Waldmann
apfelmus wrote:
Design your language in a way that the *parse* tree does not depend on import statements? I.e. Chasing imports is performed after you've got an abstract syntax tree.
OK, that would work.
This property does not hold for Haskell, because you need the fixities of the operators (so, another language design error :-)
Yes, but you can partially parse into a list, which later gets completely parsed. It's not like C with its textual inclusion, and constructs changing what counts as a type. -- Aaron Denney -><-