Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Ocaml SciTE mode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: lionel.durigneux@b...
Subject: [Caml-list] Ocaml SciTE mode
Do you know the SciTE editor ?
(free for Linux & Windows, with src,
see or

If anyone is interested about editing Ocaml source code with SciTE (and running by F5),
copy this file below at the right place (among other .properties of your SciTE)
(This file is inspired by and I use it with success since
I write some code with ocaml under windows NT4 and Linux Redhat 7.3.

nota: you can press F5 to run the edited code running under labelgtk when the file extension is .mlg
(if you get better, tell me)

# Define SciTE settings for ocaml.

filter.ocaml=OCAML (ml mli mlg)|$(file.patterns.ocaml)|

# ocaml build in functions, xlisp dialect
keywords.$(file.patterns.ocaml)= not defun + - * / = < > <= >= princ\
eval apply funcall identity function complement lambda set setq setf\
defun defmacro gensym make symbol intern symbol name symbol value symbol plist get\
getf putprop remprop hash make array aref cons list append reverse last nth\
nthcdr member assoc subst sublis nsubst nsublis remove length list length\
delete null eq eql equal cond case and or let prog\
go return do catch except throw error break\
float min max abs sin cos tan expt exp sqrt\
integer length nil do done match with for to if then else rec downto ref\
begin end unit while let and type in mutable string int of raise try not struct\
sig module class val method new print_int print_string open load
#= [ ] : { } <- @ # ;

word.characters.$(file.patterns.ocaml)=$(word.chars.ocaml)**)* **)

# ocaml styles

# Default
# White space
# Line Comment
# Number
# Keyword
# String
# Operators
# Identifiers
# End of line where string is not closed
# Matched Operators
# Braces are only matched in operator style

command.go.*.ml=c:\WORKAREA\OCaml\bin\ocaml.exe $(FilePath)
command.go.*.mlg=c:\WORKAREA\OCaml\bin\lablgtk.bat $(FilePath)

This message and any attachments (the "message") is
intended solely for the addressees and is confidential. 
If you receive this message in error, please delete it and 
immediately notify the sender. Any use not in accord with 
its purpose, any dissemination or disclosure, either whole 
or partial, is prohibited except formal approval. The internet
can not guarantee the integrity of this message. 
BNP PARIBAS (and its subsidiaries) shall (will) not 
therefore be liable for the message if modified. 


Ce message et toutes les pieces jointes (ci-apres le 
"message") sont etablis a l'intention exclusive de ses 
destinataires et sont confidentiels. Si vous recevez ce 
message par erreur, merci de le detruire et d'en avertir 
immediatement l'expediteur. Toute utilisation de ce 
message non conforme a sa destination, toute diffusion 
ou toute publication, totale ou partielle, est interdite, sauf 
autorisation expresse. L'internet ne permettant pas 
d'assurer l'integrite de ce message, BNP PARIBAS (et ses
filiales) decline(nt) toute responsabilite au titre de ce 
message, dans l'hypothese ou il aurait ete modifie.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: