r4d 0.1.5

Text oriented macro processor
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub const MACRO_START_CHAR: char = '$';
pub const ESCAPE_CHAR: char ='\\';
pub const MAIN_CALLER: &str = "@MAIN@";
pub const ESCAPED_COMMA : &str = "@COMMA@";

#[cfg(windows)]
pub const LINE_ENDING: &'static str = "\r\n";
#[cfg(not(windows))]
pub const LINE_ENDING: &'static str = "\n";

#[cfg(windows)]
pub const TEMP_PATH: &'static str = "%TEMP%";
#[cfg(not(windows))]
pub const TEMP_PATH: &'static str = "/tmp";

pub const TEMP_FILE: &'static str = "rad_temp.txt";