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
pub const BLUE: &str = "\x1B[34m";
pub const GREEN: &str = "\x1B[32m";
pub const RED: &str = "\x1B[31m";
pub const YELLOW: &str = "\x1B[33m";
pub const RESET: &str = "\x1B[0m";
pub const BOLD: &str = "\x1B[1m";
pub const GREY: &str = "\x1B[90m";
// pub const RED_BACKGROUND: &str = "\x1B[41m";
// // pub const CYAN: &str = "\x1B[36m";
// // pub const MAGENTA: &str = "\x1B[35m";
// pub const STRING_COLOR: &str = "\x1B[32m";
// pub const NUMBER_COLOR: &str = "\x1B[36m";
// pub const KEYWORD_COLOR: &str = "\x1B[35m";
// pub const IDENTIFIER_COLOR: &str = "\x1B[94m";
// pub const OPERATOR_COLOR: &str = "\x1B[37m";
// pub fn yellow(text: &str) -> String {
// format!("{}{}{}", YELLOW, text, RESET)
// }
// pub fn cyan(text: &str) -> String {
// format!("{}{}{}", CYAN, text, RESET)
// }
// pub fn magenta(text: &str) -> String {
// format!("{}{}{}", MAGENTA, text, RESET)
// }
// pub fn error(msg: &str) -> String {
// format!("{}Error:{} {}", RED, RESET, msg)
// }
// pub fn success(msg: &str) -> String {
// format!("{}{}{}", GREEN, msg, RESET)
// }
// pub fn info(msg: &str) -> String {
// format!("{}{}{}", BLUE, msg, RESET)
// }
// pub fn warning(msg: &str) -> String {
// format!("{}{}{}", YELLOW, msg, RESET)
// }