bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bison & Haskell


From: Hans Aberg
Subject: Bison & Haskell
Date: Sat, 19 Oct 2002 00:37:27 +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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]