[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bison & Haskell
From: |
Hans Aberg |
Subject: |
Bison & Haskell |
Date: |
Thu, 17 Oct 2002 19:33:09 +0200 |
I checked out in the Haskell list whether somebody would like to write
parser generator files for Bison generating Haskell as output:
Then Simon Marlow said that the Haskell parser generator Happy has some
typing features and a monad wrap.
To me, it sounds as though one needs (for the former) a feature %typed not
tied to %union which merely sets the typed internal variable, plus (for the
latter) something like a
%definition <name> <definition>
generating M4 macros, as I suggested.
In addition, for C++, I need the pre- and post-prologue to not be tied to
%union.
Hans Aberg