caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Markus Mottl <markus@oefai.at>
To: Issac Trotts <ijtrotts@ucdavis.edu>
Cc: OCaml Mailing List <caml-list@inria.fr>
Subject: Re: [Caml-list] revised syntax vim file
Date: Wed, 30 Oct 2002 14:06:07 +0100	[thread overview]
Message-ID: <20021030130607.GB9305@fichte.ai.univie.ac.at> (raw)
In-Reply-To: <20021030113424.GB19224@beech>

On Wed, 30 Oct 2002, Issac Trotts wrote:
> There is still the issue of how to make it co-exist with the
> standard OCaml syntax.

This is best solved using variables ("ocaml_revised").

> Probably searching for the regular
> expressions 
> 
>   ^value
>   do {
> 
> in a .ml or .mli file would be enough to tell which syntax to 
> use.  Is there a convention of having some other suffix for
> revised syntax filenames?  

I am not sure about the best way to identify the correct filetype. Other
suffices would be most helpful, then followed by a comment in the topmost
line to indicate the use of revised syntax. The most complicated solution
would involve scanning the file for keywords. I'd discourage this option.

Please mail me directly for further suggestions!

Best regards,
Markus Mottl

-- 
Markus Mottl                                             markus@oefai.at
Austrian Research Institute
for Artificial Intelligence                  http://www.oefai.at/~markus
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-10-30 13:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 10:49 Issac Trotts
2002-10-30 11:21 ` Stefano Zacchiroli
2002-10-30 11:34   ` Issac Trotts
2002-10-30 13:06     ` Markus Mottl [this message]
2002-10-30 11:39   ` Markus Mottl
2002-10-30 11:54     ` Issac Trotts
2002-10-30 12:15       ` Issac Trotts
2002-10-30 12:25     ` Stefano Zacchiroli

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=20021030130607.GB9305@fichte.ai.univie.ac.at \
    --to=markus@oefai.at \
    --cc=caml-list@inria.fr \
    --cc=ijtrotts@ucdavis.edu \
    /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;
as well as URLs for NNTP newsgroup(s).