+3
Cargo.toml
+3
Cargo.toml
+7
-1
src/macros/clear.rs
+7
-1
src/macros/clear.rs
···-pub fn macro_clear(_file: &mut InputFile, _args: &Vec<String>, _scope: &[Token]) -> Vec<Token> {
+12
-3
src/macros/insert.rs
+12
-3
src/macros/insert.rs
···-pub fn macro_insert(_file: &mut InputFile, args: &Vec<String>, _scope: &[Token]) -> Vec<Token> {···
+3
-3
src/macros/mod.rs
+3
-3
src/macros/mod.rs
+25
-10
src/macros/simple_blocks.rs
+25
-10
src/macros/simple_blocks.rs
···-pub fn macro_comment(_file: &mut InputFile, _args: &Vec<String>, _scope: &[Token]) -> Vec<Token> {···-pub fn macro_repeat(_file: &mut InputFile, args: &Vec<String>, scope: &[Token]) -> Vec<Token> {
+23
-23
src/main.rs
+23
-23
src/main.rs
······//file.tokens = strings_to_tokens(split_keep_delimiters(contents), file.filename_input.clone());············
+183
src/projectparse.rs
+183
src/projectparse.rs
···
+40
-55
src/stringtools.rs
+40
-55
src/stringtools.rs
···-ascii::escape_default, f32::consts::E, fmt::Arguments, ops::Index, process::exit, thread::sleep,······························// (something like "stuff!insert(..)" is split to ["stuff","!insert(..)"] so it can be acted on later)······
+12
-25
src/types.rs
+12
-25
src/types.rs
···-pub origin_file: String, //TODO: make this an index so we dont have the same string in memory for every single word+type MacroExpansion = fn(&mut InputFile, &mut ProjectContext, &Vec<String>, &[Token]) -> Vec<Token>;···