forked from sannybuilder/data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compiler.ini
90 lines (88 loc) · 1.21 KB
/
compiler.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
; DO NOT CHANGE THE NUMBERS EVER
;
; YOU CAN CHANGE THE STRING NAMES TO CUSTOMIZE THE SANNY SYNTAX
;
;......................
; VARIABLES TYPES
;......................
1=INTEGER
1=INT
2=FLOAT
3=SHORTSTRING
3=STRING
4=LONGSTRING
;5=HANDLE
;6=BOOLEAN
;6=BOOL
7=ARRAY
;......................
; BUILT-IN ROUTINES
;......................
10=INC
11=DEC
12=MUL
13=DIV
14=Alloc
15=SQR
16=RANDOM
;17=WRITEMEM
;18=READMEM
;......................
; RESERVED WORDS
;......................
;40=OF
;;41=TRUE
;;42=FALSE
43=DEFINE
44=EXPORT
45=HEX
47=PUBLISHER
48=DATE
;......................
; IF STATEMENT
;......................
50=IF
51=THEN
52=ELSE
53=AND
54=OR
55=NOT
;......................
; MISC STATEMENTS
;......................
60=VAR
;61=ENUM
;62=CLASS
65=CONST
;......................
; LOOPs STATEMENTS
;......................
70=FOR
71=WHILE
72=REPEAT
73=CONTINUE
74=BREAK
;......................
; DIRECTIVES
;......................
103={$INCLUDE
103={$I
104={$EXTERNAL
104={$E
105={$CLEO
106={$NOSOURCE
107={$OPCODE
107={$O
108={$USE
109={$INCLUDE_ONCE
;......................
; END
;......................
255=END
;......................
; DEPRECATED
;......................
46=DEFAULT
49=VERSION
101={$VERSION
102={$VERSION_RESTORE