From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id LAA07590; Tue, 15 Apr 2003 11:02:11 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA07411 for ; Tue, 15 Apr 2003 11:02:10 +0200 (MET DST) Received: from parn120173.fr.paribas.com (host7.bnpgroup.com [159.50.100.21]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id h3F929922435 for ; Tue, 15 Apr 2003 11:02:09 +0200 (MET DST) Received: from parn119322.bnpparibas.com (unverified) by parn120173.fr.paribas.com (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Tue, 15 Apr 2003 11:01:22 +0200 Subject: [Caml-list] Ocaml SciTE mode To: caml-list@inria.fr From: lionel.durigneux@bnpparibas.com Date: Tue, 15 Apr 2003 11:02:03 +0200 Message-ID: X-MIMETrack: Serialize by Router on PARSMTP002/SERVERS/SMTP(Release 5.0.10 |March 22, 2002) at 04/15/2003 10:50:19 AM MIME-Version: 1.0 Content-type: text/plain; charset="us-ascii" X-Spam: no; 0.00; lionel:01 nota:99 labelgtk:01 mlg:99 mli:01 dialect:01 defun:01 setq:01 defmacro:01 gensym:01 intern:01 plist:01 hash:01 subst:01 struct:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Do you know the SciTE editor ? (free for Linux & Windows, with src, see http://www.scintilla.org or http://www.scintilla.org/SciTE.html) If anyone is interested about editing Ocaml source code with SciTE (and running by F5), copy this ocaml.properties file below at the right place (among other .properties of your SciTE) (This file is inspired by lisp.properties and pascal.properties). 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. file.patterns.ocaml=*.ml;*.mli;*.mlg filter.ocaml=OCAML (ml mli mlg)|$(file.patterns.ocaml)| file.patterns.braces=$(file.patterns.ocaml) lexer.$(file.patterns.ocaml)=pascal # 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.chars.ocaml=$(chars.alpha)$(chars.numeric)_-<>.+$%^&=*!? word.characters.$(file.patterns.ocaml)=$(word.chars.ocaml) comment.stream.start.pascal=(* comment.stream.end.pascal=*) comment.box.start.pascal=(* comment.box.middle.pascal= * comment.box.end.pascal=*) # ocaml styles # Default style.ocaml.32=$(font.base) # White space style.ocaml.0=fore:#808080 # Line Comment style.ocaml.1=$(colour.code.comment.box),$(font.code.comment.box) # Number style.ocaml.2=$(colour.number) # Keyword style.ocaml.3=$(colour.keyword),bold # String style.ocaml.6=$(colour.string) # Operators style.ocaml.10=$(colour.operator),bold # Identifiers style.ocaml.9= # End of line where string is not closed style.ocaml.8=fore:#000000,font:Verdana,size:9,back:#fefecc,eolfilled # Matched Operators style.ocaml.34=fore:#0000FF,bold style.ocaml.35=fore:#FF0000,bold # Braces are only matched in operator style braces.ocaml.style=10 command.go.*.ml=c:\WORKAREA\OCaml\bin\ocaml.exe $(FilePath) command.go.*.mlg=c:\WORKAREA\OCaml\bin\lablgtk.bat $(FilePath) command.go.subsystem.*.ml=1 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 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