Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2002-10-30 (13:06)
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                                   
Austrian Research Institute
for Artificial Intelligence        
To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: