[mercury-users] Leveraging Perl
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Apr 26 20:51:39 AEST 2001
On 26-Apr-2001, Terrence Brannon <princepawn at earthlink.net> wrote:
>
> The amount of free modules available from the Perl community is
> staggering. I have often longed to simply drop Perl and become a
> Mercury expert, but for pragmatic reasons it may be better to marry
> the two. What would be the best way to take advantage of Perl
> functionality within Mercury?
>
> The two general approaches would be a Perl-to-Mercury compiler
Hmm, sounds like my worst nightmare ;-)
> or some sort of C interface to the Perl interpreter.
That sounds more feasible. But still a little tricky.
The other alternative is just invoking the Perl interpreter
as a separate process from within Mercury programs, or vice
versa. (E.g. using a procedure which is a thin layer around
io__call_system_command.)
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
| of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-users mailing list
post: mercury-users at cs.mu.oz.au
administrative address: owner-mercury-users at cs.mu.oz.au
unsubscribe: Address: mercury-users-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-users-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the users
mailing list