-
Notifications
You must be signed in to change notification settings - Fork 0
/
Calcp.h
41 lines (35 loc) · 918 Bytes
/
Calcp.h
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
#ifndef _VRE_APP_WIZARDTEMPLATE_
#define _VRE_APP_WIZARDTEMPLATE_
#define bool int
#define true 1
#define false 0
#define TOKEN_BAD 'b'
#define TOKEN_END 'e'
#define TOKEN_NUMBER 'n'
#include <stdlib.h>
#include "vmstdlib.h"
#include "vmsys.h"
#include "vmio.h"
#include "vmgraph.h"
#include "vmchset.h"
#include "stdio.h"
#include <string.h>
#include "vmpromng.h"
#include "stdint.h"
typedef uint8_t u8;
typedef double f64;
void f(VMINT state, VMWSTR text);
void f1(VMINT state, VMWSTR text);
void read_file_to_input(VMWSTR path);
void create_app_txt_filename(VMWSTR text);
void create_auto_full_path_name(VMWSTR result, VMWSTR fname);
void checkFileExist(void);
bool next_token();
bool token_is(int kind);
bool match_token(int kind);
f64 parse_level_three();
f64 parse_level_two();
f64 parse_level_one();
f64 parse_level_zero();
f64 parse_string(char * string);
#endif