KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

327 lines
9.9KB

  1. <?php
  2. /*************************************************************************************
  3. * fo.php
  4. * --------
  5. * Author: Tan-Vinh Nguyen (tvnguyen@web.de)
  6. * Copyright: (c) 2009 Tan-Vinh Nguyen
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2009/03/23
  9. *
  10. * fo language file for GeSHi.
  11. *
  12. * FO stands for "Flexible Oberflaechen" (Flexible Surfaces) and
  13. * is part of the abas-ERP.
  14. *
  15. * CHANGES
  16. * -------
  17. * 2009/03/23 (1.0.0)
  18. * - First Release
  19. * Basic commands in German and English
  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. ************************************************************************************/
  40. $language_data = array (
  41. 'LANG_NAME' => 'FO (abas-ERP)',
  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. //Control Flow
  49. 1 => array(
  50. /* see http://www.abas.de/sub_de/kunden/help/hd/html/9.html */
  51. /* fo keywords, part 1: control flow */
  52. '.weiter', '.continue'
  53. /* this language works with goto's only*/
  54. ),
  55. //FO Keywords
  56. 2 => array(
  57. /* fo keywords, part 2 */
  58. '.fo', '.formel', '.formula',
  59. '.zuweisen', '.assign',
  60. '.fehler', '.error',
  61. '.ende', '.end'
  62. ),
  63. //Java Keywords
  64. 3 => array(
  65. /* Java keywords, part 3: primitive data types */
  66. '.art', '.type',
  67. 'integer', 'real', 'bool', 'text', 'datum', 'woche', 'termin', 'zeit',
  68. 'mehr', 'MEHR'
  69. ),
  70. //Reserved words in fo literals
  71. 4 => array(
  72. /* other reserved words in fo literals */
  73. /* should be styled to look similar to numbers and Strings */
  74. 'false', 'null', 'true',
  75. 'OBJEKT',
  76. 'VORGANG', 'PROCESS',
  77. 'OFFEN', 'OPEN',
  78. 'ABORT',
  79. 'AN', 'ADDEDTO',
  80. 'AUF', 'NEW',
  81. 'BILDSCHIRM', 'TERMINAL',
  82. 'PC',
  83. 'MASKE', 'SCREEN',
  84. 'ZEILE', 'LINE'
  85. ),
  86. // interpreter settings
  87. 5 => array (
  88. '..!INTERPRETER', 'DEBUG'
  89. ),
  90. // database commands
  91. 6 => array (
  92. '.hole', '.hol', '.select',
  93. '.lade', '.load',
  94. '.aktion', '.action',
  95. '.belegen', '.occupy',
  96. '.bringe', '.rewrite',
  97. '.dazu', '.add',
  98. '.löschen', '.delete',
  99. '.mache', '.make',
  100. '.merke', '.reserve',
  101. '.setze', '.set',
  102. 'SPERREN', 'LOCK',
  103. 'TEIL', 'PART',
  104. 'KEINESPERRE',
  105. 'AMASKE', 'ASCREEN',
  106. 'BETRIEB', 'WORK-ORDER',
  107. 'NUMERISCH', 'NUMERICAL',
  108. 'VORSCHLAG', 'SUGGESTION',
  109. 'OBLIGO', 'OUTSTANDING',
  110. 'LISTE', 'LIST',
  111. 'DRUCK', 'PRINT',
  112. 'ÜBERNAHME', 'TAGEOVER',
  113. 'ABLAGE', 'FILINGSYSTEM',
  114. 'BDE', 'PDC',
  115. 'BINDUNG', 'ALLOCATION',
  116. 'BUCHUNG', 'ENTRY',
  117. 'COLLI', 'SERIAL',
  118. 'DATEI', 'FILE',
  119. 'VERKAUF', 'SALES',
  120. 'EINKAUF', 'PURCHASING',
  121. 'EXEMPLAR', 'EXAMPLE',
  122. 'FERTIGUNG', 'PRODUCTION',
  123. 'FIFO',
  124. 'GRUPPE', 'GROUP',
  125. 'JAHR', 'YEAR',
  126. 'JOURNAL',
  127. 'KOPF', 'HEADER',
  128. 'KOSTEN',
  129. 'LIFO',
  130. 'LMENGE', 'SQUANTITY',
  131. 'LOHNFERTIGUNG', 'SUBCONTRACTING',
  132. 'LPLATZ', 'LOCATION',
  133. 'MBELEGUNG', 'MACHLOADING',
  134. 'MONAT', 'MONTH', 'MZ',
  135. 'NACHRICHT', 'MESSAGE',
  136. 'PLAN', 'TARGET',
  137. 'REGIONEN', 'REGIONS',
  138. 'SERVICEANFRAGE', 'SERVICEREQUEST',
  139. 'VERWENDUNG', 'APPLICATION',
  140. 'WEITER', 'CONTINUE',
  141. 'ABBRUCH', 'CANCEL',
  142. 'ABLAGEKENNZEICHEN', 'FILLINGCODE',
  143. 'ALLEIN', 'SINGLEUSER',
  144. 'AUFZAEHLTYP', 'ENUMERATION-TYPE',
  145. 'AUSGABE', 'OUTPUT',
  146. 'DEZPUNKT', 'DECPOINT'
  147. ),
  148. // output settings
  149. 7 => array (
  150. '.absatz', '.para',
  151. '.blocksatz', '.justified',
  152. '.flattersatz', '.unjustified',
  153. '.format',
  154. '.box',
  155. '.drucken', '.print',
  156. '.gedruckt', '.printed',
  157. '.länge', '.length',
  158. '.links', '.left',
  159. '.rechts', '.right',
  160. '.oben', '.up',
  161. '.unten', '.down',
  162. '.seite', '.page',
  163. '.tabellensatz', '.tablerecord',
  164. '.trenner', '.separator',
  165. 'ARCHIV'
  166. ),
  167. // text commands
  168. 8 => array (
  169. '.text',
  170. '.atext',
  171. '.println',
  172. '.uebersetzen', '.translate'
  173. ),
  174. // I/O commands
  175. 9 => array (
  176. '.aus', '.ausgabe', '.output',
  177. '.ein', '.eingabe', '.input',
  178. '.datei', '.file',
  179. '.lesen', '.read',
  180. '.sortiere', '.sort',
  181. '-ÖFFNEN', '-OPEN',
  182. '-TEST',
  183. '-LESEN', '-READ',
  184. 'VON', 'FROM'
  185. ),
  186. //system
  187. 10 => array (
  188. '.browser',
  189. '.kommando', '.command',
  190. '.system', '.dde',
  191. '.editiere', '.edit',
  192. '.hilfe', '.help',
  193. '.kopieren', '.copy',
  194. '.pc.clip',
  195. '.pc.copy',
  196. '.pc.dll',
  197. '.pc.exec',
  198. '.pc.open',
  199. 'DIAGNOSE', 'ERRORREPORT',
  200. 'DOPPELPUNKT', 'COLON',
  201. 'ERSETZUNG', 'REPLACEMENT',
  202. 'WARTEN', 'PARALLEL'
  203. ),
  204. //fibu/accounting specific commands
  205. 11 => array (
  206. '.budget',
  207. '.chart',
  208. 'VKZ',
  209. 'KONTO', 'ACCOUNT',
  210. 'AUSZUG', 'STATEMENT',
  211. 'WAEHRUNG', 'CURRENCY',
  212. 'WAEHRUNGSKURS', 'EXCHANGERATE',
  213. 'AUSWAEHR', 'FORCURR',
  214. 'BUCHUNGSKREIS', 'SET OF BOOKS'
  215. ),
  216. // efop - extended flexible surface
  217. 12 => array (
  218. '.cursor',
  219. '.farbe', '.colour',
  220. '.fenster', '.window',
  221. '.hinweis', '.note',
  222. '.menue', '.menu',
  223. '.schutz', '.protection',
  224. '.zeigen', '.view',
  225. '.zeile', '.line',
  226. 'VORDERGRUND', 'FOREGROUND',
  227. 'HINTERGRUND', 'BACKGROUND',
  228. 'SOFORT', 'IMMEDIATELY',
  229. 'AKTUALISIEREN', 'UPDATE',
  230. 'FENSTERSCHLIESSEN', 'CLOSEWINDOWS'
  231. ),
  232. ),
  233. 'SYMBOLS' => array(
  234. 0 => array('(', ')', '[', ']', '{', '}', '*', '&', '%', ';', '<', '>'),
  235. 1 => array('?', '!')
  236. ),
  237. 'CASE_SENSITIVE' => array(
  238. GESHI_COMMENTS => false,
  239. /* all fo keywords are case sensitive, don't have to but I like this type of coding */
  240. 1 => true, 2 => true, 3 => true, 4 => true,
  241. 5 => true, 6 => true, 7 => true, 8 => true, 9 => true,
  242. 10 => true, 11 => true, 12 => true
  243. ),
  244. 'STYLES' => array(
  245. 'KEYWORDS' => array(
  246. 1 => 'color: #000000; font-weight: bold;',
  247. 2 => 'color: #000000; font-weight: bold;',
  248. 3 => 'color: #006600; font-weight: bold;',
  249. 4 => 'color: #006600; font-weight: bold;',
  250. 5 => 'color: #003399; font-weight: bold;',
  251. 6 => 'color: #003399; font-weight: bold;',
  252. 7 => 'color: #003399; font-weight: bold;',
  253. 8 => 'color: #003399; font-weight: bold;',
  254. 9 => 'color: #003399; font-weight: bold;',
  255. 10 => 'color: #003399; font-weight: bold;',
  256. 11 => 'color: #003399; font-weight: bold;',
  257. 12 => 'color: #003399; font-weight: bold;'
  258. ),
  259. 'COMMENTS' => array(
  260. 1 => 'color: #666666; font-style: italic;',
  261. //2 => 'color: #006699;',
  262. 'MULTI' => 'color: #666666; font-style: italic;'
  263. ),
  264. 'ESCAPE_CHAR' => array(
  265. 0 => 'color: #000099; font-weight: bold;'
  266. ),
  267. 'BRACKETS' => array(
  268. 0 => 'color: #009900;'
  269. ),
  270. 'STRINGS' => array(
  271. 0 => 'color: #0000ff;'
  272. ),
  273. 'NUMBERS' => array(
  274. 0 => 'color: #cc66cc;'
  275. ),
  276. 'METHODS' => array(
  277. 1 => 'color: #006633;',
  278. 2 => 'color: #006633;'
  279. ),
  280. 'SYMBOLS' => array(
  281. 0 => 'color: #339933;',
  282. 1 => 'color: #000000; font-weight: bold;'
  283. ),
  284. 'SCRIPT' => array(
  285. ),
  286. 'REGEXPS' => array(
  287. )
  288. ),
  289. 'URLS' => array(
  290. 1 => '',
  291. 2 => '',
  292. 3 => '',
  293. 4 => '',
  294. 5 => '',
  295. 6 => '',
  296. 7 => '',
  297. 8 => '',
  298. 9 => '',
  299. 10 => '',
  300. 11 => '',
  301. 12 => ''
  302. ),
  303. 'OOLANG' => false,
  304. 'OBJECT_SPLITTERS' => array(),
  305. 'REGEXPS' => array(
  306. ),
  307. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  308. 'SCRIPT_DELIMITERS' => array(
  309. ),
  310. 'HIGHLIGHT_STRICT_BLOCK' => array(
  311. )
  312. );
  313. ?>