Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] revised syntax vim file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Markus Mottl <markus@o...>
Subject: Re: [Caml-list] revised syntax vim file
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