Article View: comp.lang.functional
Article #326ML yacc help needed
From: T.B. Dinesh
Date: Wed, 27 Jun 1990 13:10
Date: Wed, 27 Jun 1990 13:10
15 lines
945 bytes
945 bytes
I am new to ML and am trying to use mlyacc. The parse(<filename>), in my case returns a tree of type ?.program, where as my semantic function that uses this parse tree is defined over the type program. Is there a simple way to tell ML that ?.program and program are same types OR is there a simple way to write a coerse function to do this ? Thanks for any help, since the examples provided by ML.56 of New Jersey does not have any that even generate the parse tree. It seems that these examples were written for a C yacc user, than a new yacc user, who wants to try ML yacc!! -dinesh dinesh@cadfx.ccad.uiowa.edu
Technical Details
Message-ID:
<1750@ns-mx.uiowa.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!cadfx.ccad.uiowa.eduReferences:
<3164@stl.stc.co.uk>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!ns-mx!cadfx.ccad.uiowa.edu From: dinesh@cadfx.ccad.uiowa.edu (T.B. Dinesh) Newsgroups: comp.lang.functional Subject: ML yacc help needed Message-ID: <1750@ns-mx.uiowa.edu> Date: 27 Jun 90 13:10:35 GMT References: <3164@stl.stc.co.uk> Sender: news@ns-mx.uiowa.edu Lines: 15