[Haskell-cafe] source line annotations

Brandon S Allbery KF8NH allbery at ece.cmu.edu
Sat Jan 22 04:18:46 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/19/11 17:43 , Evan Laforge wrote:
> My preprocessor works well, but occasionally I do have to go in and
> fix yet another odd corner that came up.  Initially I thought I would
> only simplistically replace tokens and avoid using a full syntax
> parser, but to really do it correctly a full parser is needed.  And of
> course this is specific to my style (qualified imports) and project.
> To do this in full generality really requires the compiler's help.

Had you looked at the haskell-src-exts package?

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery at kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk06TJYACgkQIn7hlCsL25VmugCfVxD0o078PwJx7da1Axnqg2ep
TzMAnR4oEkA7S1oOdYWtNiS3WBWgb88i
=FbHc
-----END PGP SIGNATURE-----



More information about the Haskell-Cafe mailing list