From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: Marucita@aol.com (Marucita)
Cc: caml-list@inria.fr
Subject: Re: How to use camllex and camlyacc from camlwin
Date: Mon, 29 Dec 1997 15:49:22 +0100 (MET) [thread overview]
Message-ID: <199712291449.PAA02738@pauillac.inria.fr> (raw)
In-Reply-To: <2de86ea.34a18a77@aol.com> from Marucita at "Dec 24, 97 05:19:33 pm"
> I need to know how to compile and use camllex and camlyacc files from
> the PC version of camllight.
> I've been trying to do it, and the only thing that worked was manually
> from DOS prompt...
camlyacc and camllex are command-line tools, so the most natural way
to use them is indeed from a DOS shell, or (better) a Makefile.
Still, you can invoke them from the Caml graphical user interface
using the sys__system_command function. E.g.:
cd "\\the\\right\\directory";;
sys__system_command "camllex mylexer.mll";;
compile "mylexer.ml";;
load_object "mylexer.zo";;
Yet another alternative is to use streams instead of camllex and
camlyacc.
Regards,
- Xavier Leroy
prev parent reply other threads:[~1997-12-29 17:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-12-24 22:19 Marucita
1997-12-29 14:49 ` Xavier Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=199712291449.PAA02738@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=Marucita@aol.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox