SHARE
TWEET

DCPU-16 Geshi Plugin [dark background]

ZiGGi Apr 21st, 2012 74 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. /*************************************************************************************
  3.  * dcpu-16.php
  4.  * -------
  5.  * Author: Sergey Marochkin (xziggix@gmail.com)
  6.  * Copyright: (c) 2012 Sergey Marochkin (http://ziggi.org/)
  7.  * Special for http://0x10c.ws/
  8.  * Release Version: 1.1.0.0
  9.  * Date Started: 2012/04/21
  10.  *************************************************************************************
  11.  *
  12.  *       This file is part of GeSHi.
  13.  *
  14.  *   GeSHi is free software; you can redistribute it and/or modify
  15.  *   it under the terms of the GNU General Public License as published by
  16.  *   the Free Software Foundation; either version 2 of the License, or
  17.  *   (at your option) any later version.
  18.  *
  19.  *   GeSHi is distributed in the hope that it will be useful,
  20.  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
  21.  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22.  *   GNU General Public License for more details.
  23.  *
  24.  *   You should have received a copy of the GNU General Public License
  25.  *   along with GeSHi; if not, write to the Free Software
  26.  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  27.  *
  28.  ************************************************************************************/
  29.  
  30. $language_data = array (
  31.         'LANG_NAME' => 'DCPU-16',
  32.         'COMMENT_SINGLE' => array(1 => ';'),
  33.         'COMMENT_MULTI' => array(),
  34.         'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  35.         'QUOTEMARKS' => array("'", '"'),
  36.         'ESCAPE_CHAR' => '',
  37.         'KEYWORDS' => array(
  38.                 /*CPU*/
  39.                 1 => array(
  40.                         'set','add','sub','mul','div','mod','shl','shr','and','bor','xor',
  41.                         'ifb','ifc','ife','ifn','ifg','ifa','ifb','ifl','ifu',
  42.                         'adx','sbx','sti','std','jsr','dat','int','iag','ias','rfi','iaq','hwn','hwq','hwi'
  43.                         ),
  44.                 /*registers*/
  45.                 2 => array('a','b','c','x','y','z','i','j' ),
  46.                 ),
  47.         'SYMBOLS' => array(
  48.                 '[', ']', '(', ')'
  49.                 ),
  50.         'CASE_SENSITIVE' => array(
  51.                 GESHI_COMMENTS => false,
  52.                 1 => false,
  53.                 2 => false,
  54.                 3 => false,
  55.                 ),
  56.         'STYLES' => array(
  57.                 'KEYWORDS' => array(
  58.                         1 => 'color: #708;',
  59.                         2 => 'color: #aaa;',
  60.                         ),
  61.                 'COMMENTS' => array(
  62.                         1 => 'color: #555;',
  63.                         ),
  64.                 'ESCAPE_CHAR' => array(
  65.                         0 => 'color: #000099;'
  66.                         ),
  67.                 'BRACKETS' => array(
  68.                         0 => 'color: #aaa;'
  69.                         ),
  70.                 'STRINGS' => array(
  71.                         0 => 'color: #164;'
  72.                         ),
  73.                 'NUMBERS' => array(
  74.                         0 => 'color: #164;'
  75.                         ),
  76.                 'METHODS' => array(
  77.                         ),
  78.                 'SYMBOLS' => array(
  79.                         0 => 'color: #164;'
  80.                         ),
  81.                 'REGEXPS' => array(
  82.                         0 => 'color: #164;'
  83.                         ),
  84.                 'SCRIPT' => array(
  85.                         )
  86.                 ),
  87.         'URLS' => array(
  88.                 1 => '',
  89.                 2 => '',
  90.                 3 => ''
  91.                 ),
  92.         'OOLANG' => false,
  93.         'OBJECT_SPLITTERS' => array(
  94.                 ),
  95.         'REGEXPS' => array(
  96.                 //Hex numbers
  97.                 0 => '0x[0-9a-fA-F]+'
  98.                 ),
  99.         'STRICT_MODE_APPLIES' => GESHI_NEVER,
  100.         'SCRIPT_DELIMITERS' => array(
  101.                 ),
  102.         'HIGHLIGHT_STRICT_BLOCK' => array(
  103.                 ),
  104.         'TAB_WIDTH' => 2
  105. );
  106.  
  107. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top