EnglishРусский  

   ..

   lex.c

   lex.h

   lexgentee.h

   lextbl.c

   lextbl.h

The project is closed! You can look at a new scripting language. It is available on GitHub.
Also, try our open source cross-platform automation software.

Ads

Installer and installation software
Commercial and Freeware installers.

source\src\lex\lexgentee.h
 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 * lexgentee 26.07.2007
11 *
12 * Author: Generated with 'lextbl' program 
13 *
14 * Description: This file contains a lexical table for the lexical analizer.
15 *
16 ******************************************************************************/
17 
18 #ifndef _LEXGENTEE_
19 #define _LEXGENTEE_
20 
21    #ifdef __cplusplus               
22       extern "C" {                 
23    #endif // __cplusplus      
24 
25 // States
26 #define G_BINARY 0x210000 //  Binary data 
27 #define G_TEXTSTR 0x200000 //  Text string 
28 #define G_LINE 0x2000000 //  New line 0x0D0A or 0x0A 
29 #define G_NUMBER 0x3000000 //  Number decimal, hexadecimal, float or double 
30 #define G_SYSCHAR 0x4000000 //  Punctuation marks 
31 #define G_STRING 0x1C0000 //  String 
32 #define G_FILENAME 0x1D0000 //  File data \<filename> 
33 #define G_MACRO 0x5000000 //  Macro identifier $name or $name$ 
34 #define G_OPERCHAR 0x1000000 //  Operations 
35 #define G_NAME 0x80000 //  Name identifier 
36 #define G_MACROSTR 0x1B0000 //  Macro string $"String" 
37 
38 // Keywords
39 #define KEY_AS 0x1 // 1
40 #define KEY_BREAK 0x2 // 2
41 #define KEY_CASE 0x3 // 3
42 #define KEY_CDECL 0x4 // 4
43 #define KEY_CONTINUE 0x5 // 5
44 #define KEY_DEFAULT 0x6 // 6
45 #define KEY_DEFINE 0x7 // 7
46 #define KEY_DO 0x8 // 8
47 #define KEY_ELIF 0x9 // 9
48 #define KEY_ELSE 0xA // 10
49 #define KEY_EXTERN 0xB // 11
50 #define KEY_FOR 0xC // 12
51 #define KEY_FOREACH 0xD // 13
52 #define KEY_FORNUM 0xE // 14
53 #define KEY_FUNC 0xF // 15
54 #define KEY_GLOBAL 0x10 // 16
55 #define KEY_GOTO 0x11 // 17
56 #define KEY_IF 0x12 // 18
57 #define KEY_IFDEF 0x13 // 19
58 #define KEY_IMPORT 0x14 // 20
59 #define KEY_INCLUDE 0x15 // 21
60 #define KEY_LABEL 0x16 // 22
61 #define KEY_METHOD 0x17 // 23
62 #define KEY_OF 0x18 // 24
63 #define KEY_OPERATOR 0x19 // 25
64 #define KEY_PRIVATE 0x1A // 26
65 #define KEY_PROPERTY 0x1B // 27
66 #define KEY_PUBLIC 0x1C // 28
67 #define KEY_RETURN 0x1D // 29
68 #define KEY_SIZEOF 0x1E // 30
69 #define KEY_STDCALL 0x1F // 31
70 #define KEY_SWITCH 0x20 // 32
71 #define KEY_SUBFUNC 0x21 // 33
72 #define KEY_TYPE 0x22 // 34
73 #define KEY_WHILE 0x23 // 35
74 #define KEY_WITH 0x24 // 36
75 #define KEY_TEXT 0xFF // 255
76 
77 
78    #ifdef __cplusplus              
79       }                            
80    #endif // __cplusplus
81 
82 #endif // _LEXGENTEE_
83