Codulle - L'explorateur de code sources
Informations fichier
Nom du fichier : ocaml-brief.phpTaille du fichier : 3 Ko (115 lignes)
Language : PHP
span style="color: #808080; font-style: italic;">/************************************************************************************* * ocaml.php * ---------- * Author: Flaie (fireflaie@gmail.com) * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter) * Release Version: 1.0.7.5 * CVS Revision Version: $Revision: 1.3 $ * Date Started: 2005/08/27 * Last Modified: $Date: 2005/10/22 07:52:59 $ * * OCaml (Objective Caml) language file for GeSHi. * * CHANGES * ------- * 2005/08/27 (1.0.0) * - First Release * * TODO (updated 2005/08/27) * ------------------------- * ************************************************************************************* * * This file is part of GeSHi. * * GeSHi is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * GeSHi is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GeSHi; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * ************************************************************************************/'LANG_NAME' => 'OCaml', 'COMMENT_SINGLE''COMMENT_MULTI''(*' => '*)'), 'CASE_KEYWORDS' => 0, 'QUOTEMARKS''"'), 'ESCAPE_CHAR' => "", 'KEYWORDS'/* main OCaml keywords */'and', 'As', 'asr', 'begin', 'Class', 'Closed', 'constraint', 'do', 'done', 'downto', 'else', 'end', 'exception', 'external', 'failwith', 'false', 'flush', 'for', 'fun', 'function', 'functor', 'if', 'in', 'include', 'inherit', 'incr', 'land', 'let', 'load', 'los', 'lsl', 'lsr', 'lxor', 'match', 'method', 'mod', 'module', 'mutable', 'new', 'not', 'of', 'open', 'option', 'or', 'parser', 'private', 'ref', 'rec', 'raise', 'regexp', 'sig', 'struct', 'stdout', 'stdin', 'stderr', 'then', 'to', 'true', 'try', 'type', 'val', 'virtual', 'when', 'while', 'with' ) ), /* highlighting symbols is really important in OCaml */ 'SYMBOLS'';', '!', ':', '.', '=', '%', '^', '*', '-', '/', '+', '>', '<', '(', ')', '[', ']', '&', '|', '#', "'" ), 'CASE_SENSITIVE''STYLES''KEYWORDS''color: #06c; font-weight: bold;' /* nice blue */ ), 'COMMENTS''MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */ ), 'ESCAPE_CHAR''BRACKETS''color: #6c6;' ), 'STRINGS''color: #3cb371;' /* nice green */ ), 'NUMBERS''color: #c6c;' /* pink */ ), 'METHODS''color: #060;' /* dark green */ ), 'REGEXPS''SYMBOLS''color: #a52a2a;' /* maroon */ ), 'SCRIPT''URLS''', ), 'OOLANG''OBJECT_SPLITTERS''.' ), 'REGEXPS''STRICT_MODE_APPLIES''SCRIPT_DELIMITERS''HIGHLIGHT_STRICT_BLOCK'