[prev in list] [next in list] [prev in thread] [next in thread]
List: haskell-cafe
Subject: [Haskell-cafe] Re: Parsec and network data
From: Aaron Denney <wnoise () ofb ! net>
Date: 2008-08-30 20:41:28
Message-ID: slrngbjc3d.t87.wnoise () ofb ! net
[Download RAW message or body]
On 2008-08-30, Johannes Waldmann <waldmann@imn.htwk-leipzig.de> wrote:
> 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
-><-
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic