calling a seperate program and supplying command line args.

Jason Smith jns28@student.canterbury.ac.nz
Fri, 09 Aug 2002 10:24:15 +1200


This is a multi-part message in MIME format.

--Boundary_(ID_E/KXfIp8H9s+xjUrcCUIlA)
Content-type: text/plain;	charset="iso-8859-1"
Content-transfer-encoding: quoted-printable

How to basically?

I've not had much luck finding much in the way of doc's in ghc on how to =
do this?...basically I have a compiler in haskell and I want to call a =
parser which is written in Java.  The parser is a .NET binary, it spits =
out a text file containing the parse tree which I then suck up and do =
the usual compiler things with.  I need to supply the java parser =
command line args i.e the file to parse etc..=20

Thanks heaps
Jason.

--Boundary_(ID_E/KXfIp8H9s+xjUrcCUIlA)
Content-type: text/html;	charset="iso-8859-1"
Content-transfer-encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2715.400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>How to basically?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've not had much luck finding much in =
the way of=20
doc's in ghc on how to do this?...basically I have a compiler in haskell =
and I=20
want to call a parser which is written in Java.&nbsp; The parser is a =
.NET=20
binary, it spits out a text file containing the&nbsp;parse tree =
which&nbsp;I=20
then suck up and do the usual compiler things with.&nbsp; I need to =
supply the=20
java parser command line args i.e the file to parse etc.. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks heaps</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jason.</FONT></DIV></BODY></HTML>

--Boundary_(ID_E/KXfIp8H9s+xjUrcCUIlA)--