1 #ifndef EMBEDED_OBERON_SCRIPT_H
2 #define EMBEDED_OBERON_SCRIPT_H
11 OBERON_TYPE_INTEGER,
12 OBERON_TYPE_BOOLEAN,
13 };
15 struct oberon_type_s
16 {
23 };
25 struct oberon_var_s
26 {
32 };
34 struct oberon_proc_s
35 {
41 };
43 struct oberon_module_s
44 {
51 };
53 struct oberon_context_s
54 {
70 };
73 MODE_VAR,
74 MODE_INTEGER,
75 MODE_BOOLEAN
76 };
79 OP_LOGIC_NOT,
80 OP_UNARY_MINUS,
81 OP_ADD,
82 OP_SUB,
83 OP_MUL,
84 OP_DIV,
85 OP_MOD,
86 OP_LOGIC_AND,
87 OP_LOGIC_OR,
88 OP_EQ,
89 OP_NEQ,
90 OP_LSS,
91 OP_LEQ,
92 OP_GRT,
93 OP_GEQ
94 };
100 struct oberon_item_s
101 {
109 };
111 struct oberon_oper_s
112 {
119 };
121 union oberon_expr_u
122 {
126 };
128 oberon_item_t item;
129 oberon_oper_t oper;
130 };