Codulle - L'explorateur de code sources

Accueil>> AlBulle >> Albulle1.0rc3

Informations fichier

Nom du fichier : vhdl.php
Taille du fichier : 4 Ko (141 lignes)
Language : PHP

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

Liste des projets

Téléchargez Codulle

Publié par Codulle - v0.1.1 - © Bubulles Creations