Hello,
I have a question on attribute grammars. As I gathered from several
articles on this subject, there is a strong relationship between
attribute grammars and functional programming. To make this
relationship more explicit, several functional languages have been
extended with attribute grammar syntax and semantics, notably by
Johnsson for Lazy ML, and by Efremidis et al. for SML. I have been
told by several people that they have done the same for Haskell, and
that it didn't prove too difficult.
Would it be possible to design a standard attribute grammar
extension to Haskell? This could then be added as an appendix to
the Report, or as a separate extension. This would prevent people
from reinventing essentially the same things over and over again.
Any ideas?
<><
Marnix
--
Marnix Klooster
[EMAIL PROTECTED] // [EMAIL PROTECTED]