1 /*
2     tcbasic - a small BASIC Interpreter written in C.
3     Copyright (C) 2015, 2016, 2017  Thomas Cort <linuxgeek@gmail.com>
4 
5     This program is free software: you can redistribute it and/or modify
6     it under the terms of the GNU General Public License as published by
7     the Free Software Foundation, either version 3 of the License, or
8     (at your option) any later version.
9 
10     This program is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13     GNU General Public License for more details.
14 
15     You should have received a copy of the GNU General Public License
16     along with this program.  If not, see <http://www.gnu.org/licenses/>.
17 */
18 
19 #ifndef __VAR_H
20 #define __VAR_H
21 
22 struct number;
23 struct tokenizer;
24 
25 struct var {
26 	char value;
27 };
28 
29 struct var *new_var(char value);
30 struct var *parse_var(struct tokenizer *t);
31 struct number *eval_var(struct var *v);
32 void print_var(struct var *v);
33 void free_var(struct var *v);
34 
35 #endif
36