EnglishРусский  

   ..

   lexfgentee.g

   main.g

Данный проект закрыт! Создан новый скриптовый язык с тем же именем. Всё доступно на GitHub.
Также попробуйте нашу open source кроссплатформенную программу для создания и управления скриптами.

Реклама

Инсталлятор CreateInstall
Бесплатные и коммерческие инсталляторы

  1 /******************************************************************************
  2 *
  3 * Copyright (C) 2006, The Gentee Group. All rights reserved. 
  4 * This file is part of the Gentee open source project <http://www.gentee.com>. 
  5 * 
  6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT"). 
  7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS 
  8 * ACCEPTANCE OF THE AGREEMENT.
  9 *
 10 * lexfgentee 13.10.2006
 11 *
 12 * Author: Generated with 'lextbl' program 
 13 *
 14 * Description: This file contains a lexical table for the lexical analizer.
 15 *
 16 ******************************************************************************/
 17 
 18 
 19 define
 20 {
 21    // States
 22 FG_BINARY = 0x240000 //  Binary data 
 23 FG_TEXTSTR = 0x220000 //  Text string 
 24 FG_COMMENT = 0x90000 //  Comment /* ... */ 
 25 FG_UNKNOWN = 0x40000 //  Unknown characters 
 26 FG_LINE = 0x2000000 //  New line 0x0D0A or 0x0A 
 27 FG_NUMBER = 0x3000000 //  Number decimal, hexadecimal, float or double 
 28 FG_IGNLINE = 0x30000 //  Ignore line character \ 
 29 FG_SYSCHAR = 0x4000000 //  Punctuation marks 
 30 FG_STRING = 0x1E0000 //  String 
 31 FG_MACRO = 0x5000000 //  Macro identifier $name 
 32 FG_OPERCHAR = 0x1000000 //  Operations 
 33 FG_NAME = 0xB0000 //  Name identifier 
 34 FG_SPACE = 0x50000 //  Space characters 
 35 FG_MACROSTR = 0x1D0000 //  Macro string $"String" 
 36 FG_LINECOMMENT = 0xA0000 //  Comment //...  
 37 FG_TAB = 0x60000 //  Tab characters 
 38 
 39    // Keywords
 40 KEY_AS = 0x1 
 41 KEY_BREAK = 0x2 
 42 KEY_CASE = 0x3 
 43 KEY_CONTINUE = 0x4 
 44 KEY_DEFAULT = 0x5 
 45 KEY_DEFINE = 0x6 
 46 KEY_DO = 0x7 
 47 KEY_ELIF = 0x8 
 48 KEY_ELSE = 0x9 
 49 KEY_EXTERN = 0xA 
 50 KEY_FOR = 0xB 
 51 KEY_FOREACH = 0xC 
 52 KEY_FORNUM = 0xD 
 53 KEY_FUNC = 0xE 
 54 KEY_GLOBAL = 0xF 
 55 KEY_GOTO = 0x10 
 56 KEY_IF = 0x11 
 57 KEY_IFDEF = 0x12 
 58 KEY_IMPORT = 0x13 
 59 KEY_INCLUDE = 0x14 
 60 KEY_LABEL = 0x15 
 61 KEY_METHOD = 0x16 
 62 KEY_OF = 0x17 
 63 KEY_OPERATOR = 0x18 
 64 KEY_RETURN = 0x19 
 65 KEY_SWITCH = 0x1A 
 66 KEY_SUBFUNC = 0x1B 
 67 KEY_TYPE = 0x1C 
 68 KEY_WHILE = 0x1D 
 69 KEY_TEXT = 0xFF 
 70 KEY_ARR = 0x100 
 71 KEY_BUF = 0x101 
 72 KEY_BYTE = 0x102 
 73 KEY_DOUBLE = 0x103 
 74 KEY_FLOAT = 0x104 
 75 KEY_HASH = 0x105 
 76 KEY_INT = 0x106 
 77 KEY_LONG = 0x107 
 78 KEY_SHORT = 0x108 
 79 KEY_STR = 0x109 
 80 KEY_UBYTE = 0x10A 
 81 KEY_UINT = 0x10B 
 82 KEY_ULONG = 0x10C 
 83 KEY_USHORT = 0x10D 
 84 
 85 }
 86 
 87 global
 88 { 
 89    buf lexfgentee = '\h4  25 1A 40005 2020 50005 403F2E2E 1000046 7E7E
 90  1000046 909 60005 A0A 2000006 D0D 70004 2F2F
 91  80004 2A3D2121 140004 5E5E 140004 2B2B 150004 2D2D
 92  160004 3C3C 170004 3E3E 180004 5C5C 30005 2525
 93  1C000C 2626 190004 7C7C 1A0004 4100 B1005 2424
 94  C0004 2222 1E0085 2727 240085 3030 30D0006 3139
 95  30E0006 29282C2C 4000046 7D7B3B3B 4000046 5D5B3A3A 4000046 0
 96  220005 2 10008 D0D FE000000 A0A FE010000 2
 97  FE000000 20FF 10008 A0D0909 10008 1 10008 2020
 98  FE000000 1 10008 909 FE000000 1 40009 A0A
 99  2010002 3 101004A 2A2A 90001 2F2F A0001 3D3D
100  1010042 1 FE000000 2F2A FE010800 1 FE000000 A0D0D
101  10008 1 10008 3000 FE000000 2 40009 4100
102  50B0002 2222 1D0001 8 10008 3039 FE0E0000 587878
103  FE0F0000 426262 FE100000 4C6C6C FE010000 446464 FE010000 466666
104  FE010000 456565 FE120000 2E2E FE110000 6 10008 3039
105  FE000000 4C6C6C FE010000 446464 FE010000 466666 FE010000 456565
106  FE120000 2E2E FE110000 2 10008 5800 FE000000 4C6C6C
107  FE010000 2 10008 313030 FE000000 4C6C6C FE010000 4
108  10008 446464 FE010000 466666 FE010000 456565 FE120000 3039
109  FE000000 1 130008 2D2B2B FE130000 3 10008 3039
110  FE000000 446464 FE010000 466666 FE010000 1 101004A 3D3D
111  1010042 1 101004A 2B3D3D 1010042 1 101004A 3E2D3D3D
112  1010042 2 101004A 3D3D 1010042 3C3C 140000 2
113  101004A 3D3D 1010042 3E3E 140000 1 101004A 263D3D
114  1010042 1 101004A 7C3D3D 1010042 2 101004A 7B7B
115  1010042 3D3C3E3E 140000 1 1B0000 3D2125 1010842 2
116  FE000000 2222 FE010000 2222 FE000800 6 FE000000 2222
117  FE000100 225C FE000800 3C5C 1F0880 2A5C 200880 5B5C
118  FB210880 285C FA010800 1 FE000000 3E3E FE000100 1
119  FE000000 5C2A FE000900 1 FE000000 5B5B FB000100 7
120  FE000000 215C FE010800 3C5C 1F0880 2A5C 200880 5B5C
121  FB210880 285C FA010800 7B5C FA010800 405C 230800 2
122  FE000000 2828 FA010000 2929 220000 5 FE000000 2727
123  FE000100 225C 250880 3C5C 1F0880 2A5C 200880 285C
124  FA010800 1 FE000000 2222 FE000100 10003 73610000 65726200
125  63006B61 657361 746E6F63 65756E69 66656400 746C7561 66656400 656E69
126  65006F64 66696C 65736C65 74786500 6E7265 726F66 65726F66 686361
127  6E726F66 66006D75 636E75 626F6C67 67006C61 6F746F 69006669 66656466
128  706D6900 74726F 6C636E69 656475 6562616C 656D006C 646F6874 666F00
129  7265706F 726F7461 74657200 6E7275 74697773 73006863 75666275 7400636E
130  657079 6C696877 FF000065 74000000 747865 10000 72726100 66756200
131  74796200 6F640065 656C6275 6F6C6600 68007461 687361 746E69 676E6F6C
132  6F687300 73007472 75007274 65747962 6E697500 6C750074 676E6F 6F687375
133  7472 0'
134 }
135 
Редактировать