|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327 |
- <?php
- /*************************************************************************************
- * fo.php
- * --------
- * Author: Tan-Vinh Nguyen (tvnguyen@web.de)
- * Copyright: (c) 2009 Tan-Vinh Nguyen
- * Release Version: 1.0.8.11
- * Date Started: 2009/03/23
- *
- * fo language file for GeSHi.
- *
- * FO stands for "Flexible Oberflaechen" (Flexible Surfaces) and
- * is part of the abas-ERP.
- *
- * CHANGES
- * -------
- * 2009/03/23 (1.0.0)
- * - First Release
- * Basic commands in German and English
- *
- *************************************************************************************
- *
- * 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
- *
- ************************************************************************************/
-
- $language_data = array (
- 'LANG_NAME' => 'FO (abas-ERP)',
- 'COMMENT_SINGLE' => array(1 => '..'),
- 'COMMENT_MULTI' => array(),
- 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
- 'QUOTEMARKS' => array("'", '"'),
- 'ESCAPE_CHAR' => '\\',
- 'KEYWORDS' => array(
- //Control Flow
- 1 => array(
- /* see http://www.abas.de/sub_de/kunden/help/hd/html/9.html */
-
- /* fo keywords, part 1: control flow */
- '.weiter', '.continue'
-
- /* this language works with goto's only*/
- ),
-
- //FO Keywords
- 2 => array(
- /* fo keywords, part 2 */
- '.fo', '.formel', '.formula',
- '.zuweisen', '.assign',
- '.fehler', '.error',
- '.ende', '.end'
- ),
-
- //Java Keywords
- 3 => array(
- /* Java keywords, part 3: primitive data types */
- '.art', '.type',
- 'integer', 'real', 'bool', 'text', 'datum', 'woche', 'termin', 'zeit',
- 'mehr', 'MEHR'
- ),
-
- //Reserved words in fo literals
- 4 => array(
- /* other reserved words in fo literals */
- /* should be styled to look similar to numbers and Strings */
- 'false', 'null', 'true',
- 'OBJEKT',
- 'VORGANG', 'PROCESS',
- 'OFFEN', 'OPEN',
- 'ABORT',
- 'AN', 'ADDEDTO',
- 'AUF', 'NEW',
- 'BILDSCHIRM', 'TERMINAL',
- 'PC',
- 'MASKE', 'SCREEN',
- 'ZEILE', 'LINE'
- ),
-
- // interpreter settings
- 5 => array (
- '..!INTERPRETER', 'DEBUG'
- ),
-
- // database commands
- 6 => array (
- '.hole', '.hol', '.select',
- '.lade', '.load',
- '.aktion', '.action',
- '.belegen', '.occupy',
- '.bringe', '.rewrite',
- '.dazu', '.add',
- '.löschen', '.delete',
- '.mache', '.make',
- '.merke', '.reserve',
- '.setze', '.set',
- 'SPERREN', 'LOCK',
- 'TEIL', 'PART',
- 'KEINESPERRE',
- 'AMASKE', 'ASCREEN',
- 'BETRIEB', 'WORK-ORDER',
- 'NUMERISCH', 'NUMERICAL',
- 'VORSCHLAG', 'SUGGESTION',
- 'OBLIGO', 'OUTSTANDING',
- 'LISTE', 'LIST',
- 'DRUCK', 'PRINT',
- 'ÜBERNAHME', 'TAGEOVER',
- 'ABLAGE', 'FILINGSYSTEM',
- 'BDE', 'PDC',
- 'BINDUNG', 'ALLOCATION',
- 'BUCHUNG', 'ENTRY',
- 'COLLI', 'SERIAL',
- 'DATEI', 'FILE',
- 'VERKAUF', 'SALES',
- 'EINKAUF', 'PURCHASING',
- 'EXEMPLAR', 'EXAMPLE',
- 'FERTIGUNG', 'PRODUCTION',
- 'FIFO',
- 'GRUPPE', 'GROUP',
- 'JAHR', 'YEAR',
- 'JOURNAL',
- 'KOPF', 'HEADER',
- 'KOSTEN',
- 'LIFO',
- 'LMENGE', 'SQUANTITY',
- 'LOHNFERTIGUNG', 'SUBCONTRACTING',
- 'LPLATZ', 'LOCATION',
- 'MBELEGUNG', 'MACHLOADING',
- 'MONAT', 'MONTH', 'MZ',
- 'NACHRICHT', 'MESSAGE',
- 'PLAN', 'TARGET',
- 'REGIONEN', 'REGIONS',
- 'SERVICEANFRAGE', 'SERVICEREQUEST',
- 'VERWENDUNG', 'APPLICATION',
- 'WEITER', 'CONTINUE',
- 'ABBRUCH', 'CANCEL',
- 'ABLAGEKENNZEICHEN', 'FILLINGCODE',
- 'ALLEIN', 'SINGLEUSER',
- 'AUFZAEHLTYP', 'ENUMERATION-TYPE',
- 'AUSGABE', 'OUTPUT',
- 'DEZPUNKT', 'DECPOINT'
- ),
-
- // output settings
- 7 => array (
- '.absatz', '.para',
- '.blocksatz', '.justified',
- '.flattersatz', '.unjustified',
- '.format',
- '.box',
- '.drucken', '.print',
- '.gedruckt', '.printed',
- '.länge', '.length',
- '.links', '.left',
- '.rechts', '.right',
- '.oben', '.up',
- '.unten', '.down',
- '.seite', '.page',
- '.tabellensatz', '.tablerecord',
- '.trenner', '.separator',
- 'ARCHIV'
- ),
-
- // text commands
- 8 => array (
- '.text',
- '.atext',
- '.println',
- '.uebersetzen', '.translate'
- ),
-
- // I/O commands
- 9 => array (
- '.aus', '.ausgabe', '.output',
- '.ein', '.eingabe', '.input',
- '.datei', '.file',
- '.lesen', '.read',
- '.sortiere', '.sort',
- '-ÖFFNEN', '-OPEN',
- '-TEST',
- '-LESEN', '-READ',
- 'VON', 'FROM'
- ),
-
- //system
- 10 => array (
- '.browser',
- '.kommando', '.command',
- '.system', '.dde',
- '.editiere', '.edit',
- '.hilfe', '.help',
- '.kopieren', '.copy',
- '.pc.clip',
- '.pc.copy',
- '.pc.dll',
- '.pc.exec',
- '.pc.open',
- 'DIAGNOSE', 'ERRORREPORT',
- 'DOPPELPUNKT', 'COLON',
- 'ERSETZUNG', 'REPLACEMENT',
- 'WARTEN', 'PARALLEL'
- ),
-
- //fibu/accounting specific commands
- 11 => array (
- '.budget',
- '.chart',
- 'VKZ',
- 'KONTO', 'ACCOUNT',
- 'AUSZUG', 'STATEMENT',
- 'WAEHRUNG', 'CURRENCY',
- 'WAEHRUNGSKURS', 'EXCHANGERATE',
- 'AUSWAEHR', 'FORCURR',
- 'BUCHUNGSKREIS', 'SET OF BOOKS'
- ),
-
- // efop - extended flexible surface
- 12 => array (
- '.cursor',
- '.farbe', '.colour',
- '.fenster', '.window',
- '.hinweis', '.note',
- '.menue', '.menu',
- '.schutz', '.protection',
- '.zeigen', '.view',
- '.zeile', '.line',
- 'VORDERGRUND', 'FOREGROUND',
- 'HINTERGRUND', 'BACKGROUND',
- 'SOFORT', 'IMMEDIATELY',
- 'AKTUALISIEREN', 'UPDATE',
- 'FENSTERSCHLIESSEN', 'CLOSEWINDOWS'
- ),
- ),
- 'SYMBOLS' => array(
- 0 => array('(', ')', '[', ']', '{', '}', '*', '&', '%', ';', '<', '>'),
- 1 => array('?', '!')
- ),
- 'CASE_SENSITIVE' => array(
- GESHI_COMMENTS => false,
- /* all fo keywords are case sensitive, don't have to but I like this type of coding */
- 1 => true, 2 => true, 3 => true, 4 => true,
- 5 => true, 6 => true, 7 => true, 8 => true, 9 => true,
- 10 => true, 11 => true, 12 => true
- ),
- 'STYLES' => array(
- 'KEYWORDS' => array(
- 1 => 'color: #000000; font-weight: bold;',
- 2 => 'color: #000000; font-weight: bold;',
- 3 => 'color: #006600; font-weight: bold;',
- 4 => 'color: #006600; font-weight: bold;',
- 5 => 'color: #003399; font-weight: bold;',
- 6 => 'color: #003399; font-weight: bold;',
- 7 => 'color: #003399; font-weight: bold;',
- 8 => 'color: #003399; font-weight: bold;',
- 9 => 'color: #003399; font-weight: bold;',
- 10 => 'color: #003399; font-weight: bold;',
- 11 => 'color: #003399; font-weight: bold;',
- 12 => 'color: #003399; font-weight: bold;'
- ),
- 'COMMENTS' => array(
- 1 => 'color: #666666; font-style: italic;',
- //2 => 'color: #006699;',
- 'MULTI' => 'color: #666666; font-style: italic;'
- ),
- 'ESCAPE_CHAR' => array(
- 0 => 'color: #000099; font-weight: bold;'
- ),
- 'BRACKETS' => array(
- 0 => 'color: #009900;'
- ),
- 'STRINGS' => array(
- 0 => 'color: #0000ff;'
- ),
- 'NUMBERS' => array(
- 0 => 'color: #cc66cc;'
- ),
- 'METHODS' => array(
- 1 => 'color: #006633;',
- 2 => 'color: #006633;'
- ),
- 'SYMBOLS' => array(
- 0 => 'color: #339933;',
- 1 => 'color: #000000; font-weight: bold;'
- ),
- 'SCRIPT' => array(
- ),
- 'REGEXPS' => array(
- )
- ),
- 'URLS' => array(
- 1 => '',
- 2 => '',
- 3 => '',
- 4 => '',
- 5 => '',
- 6 => '',
- 7 => '',
- 8 => '',
- 9 => '',
- 10 => '',
- 11 => '',
- 12 => ''
- ),
- 'OOLANG' => false,
- 'OBJECT_SPLITTERS' => array(),
- 'REGEXPS' => array(
- ),
- 'STRICT_MODE_APPLIES' => GESHI_NEVER,
- 'SCRIPT_DELIMITERS' => array(
- ),
- 'HIGHLIGHT_STRICT_BLOCK' => array(
- )
- );
- ?>
|