File geshi/geshi/vhdl.php

Last commit: Fri Nov 23 00:12:00 2007 +0100	dankert	Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.
1 <?php 2 /************************************************************************************* 3 * vhdl.php 4 * -------- 5 * Author: Alexander 'E-Razor' Krause (admin@erazor-zone.de) 6 * Copyright: (c) 2005 Alexander Krause 7 * Release Version: 1.0.7.20 8 * Date Started: 2005/06/15 9 * 10 * VHDL (VHSICADL, very high speed integrated circuit HDL) language file for GeSHi. 11 * 12 * CHANGES 13 * ------- 14 * 2006/06/15 (1.0.0) 15 * - First Release 16 * 17 * TODO 18 * ---- 19 * 20 ************************************************************************************* 21 * 22 * This file is part of GeSHi. 23 * 24 * GeSHi is free software; you can redistribute it and/or modify 25 * it under the terms of the GNU General Public License as published by 26 * the Free Software Foundation; either version 2 of the License, or 27 * (at your option) any later version. 28 * 29 * GeSHi is distributed in the hope that it will be useful, 30 * but WITHOUT ANY WARRANTY; without even the implied warranty of 31 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 32 * GNU General Public License for more details. 33 * 34 * You should have received a copy of the GNU General Public License 35 * along with GeSHi; if not, write to the Free Software 36 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 37 * 38 ************************************************************************************/ 39 40 $language_data = array ( 41 'LANG_NAME' => 'VHDL', 42 'COMMENT_SINGLE' => array(1 => '--'), 43 'COMMENT_MULTI' => array(), 44 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 45 'QUOTEMARKS' => array('"'), 46 'ESCAPE_CHAR' => '', 47 'KEYWORDS' => array( 48 /*keywords*/ 49 1 => array( 50 'access','after','alias','all','assert','architecture','begin', 51 'block','body','buffer','bus','case','component','configuration','constant', 52 'disconnect','downto','else','elsif','end','entity','exit','file','for', 53 'function','generate','generic','group','guarded','if','impure','in', 54 'inertial','inout','is','label','library','linkage','literal','loop', 55 'map','new','next','null','of','on','open','others','out','package', 56 'port','postponed','procedure','process','pure','range','record','register', 57 'reject','report','return','select','severity','signal','shared','subtype', 58 'then','to','transport','type','unaffected','units','until','use','variable', 59 'wait','when','while','with','note','warning','error','failure','and', 60 'or','xor','not','nor' 61 ), 62 /*types*/ 63 2 => array( 64 'bit','bit_vector','character','boolean','integer','real','time','string', 65 'severity_level','positive','natural','signed','unsigned','line','text', 66 'std_logic','std_logic_vector','std_ulogic','std_ulogic_vector','qsim_state', 67 'qsim_state_vector','qsim_12state','qsim_12state_vector','qsim_strength', 68 'mux_bit','mux_vector','reg_bit','reg_vector','wor_bit','wor_vector' 69 ), 70 /*operators*/ 71 3 => array( 72 '=','<=',':=','=>','==' 73 ) 74 ), 75 'SYMBOLS' => array( 76 '[', ']', '(', ')',';','<','>',':' 77 ), 78 'CASE_SENSITIVE' => array( 79 GESHI_COMMENTS => true, 80 1 => false, 81 2 => false 82 ), 83 'STYLES' => array( 84 'KEYWORDS' => array( 85 1 => 'color: #000000; font-weight: bold;', 86 2 => 'color: #aa0000;' 87 ), 88 'COMMENTS' => array( 89 1 => 'color: #adadad; font-style: italic;' 90 ), 91 'ESCAPE_CHAR' => array( 92 0 => 'color: #000099; font-weight: bold;' 93 ), 94 'BRACKETS' => array( 95 0 => 'color: #66cc66;' 96 ), 97 'STRINGS' => array( 98 0 => 'color: #7f007f;' 99 ), 100 'NUMBERS' => array( 101 0 => 'color: #ff0000;' 102 ), 103 'METHODS' => array( 104 ), 105 'SYMBOLS' => array( 106 0 => 'color: #66cc66;' 107 ), 108 'REGEXPS' => array( 109 0 => 'color: #ff0000;', 110 1 => 'color: #ff0000;', 111 2 => 'color: #ff0000;', 112 3 => 'color: #ff0000;' 113 ), 114 'SCRIPT' => array( 115 ) 116 ), 117 'URLS' => array( 118 1 => '', 119 2 => '' 120 ), 121 'OOLANG' => false, 122 'OBJECT_SPLITTERS' => array( 123 ), 124 'REGEXPS' => array( 125 0 => '(\b(0x)[0-9a-fA-F]{2,}[hH]?|\b(0x)?[0-9a-fA-F]{2,}[hH])|'. 126 '(\b[0-9]{1,}((\.){1}[0-9]{1,}){0,1}(E)[\-]{0,1}[0-9]{1,})|'. 127 '(\b(ns))|'. 128 "('[0-9a-zA-Z]+)", 129 1 => "\b(''[0-9]'')" 130 ), 131 'STRICT_MODE_APPLIES' => GESHI_NEVER, 132 'SCRIPT_DELIMITERS' => array( 133 ), 134 'HIGHLIGHT_STRICT_BLOCK' => array( 135 ) 136 ); 137 138 ?>
Download geshi/geshi/vhdl.php
History Fri, 23 Nov 2007 00:12:00 +0100 dankert Farbige Darstellung von Code-Bl?cken mit Hilfe der Bibliothek GESHI.