macro_rules! compile {
($fmt:literal $(, $arg:expr )* $(,)?) => { ... };
}Expand description
Macro for compiling a DATEX script template text with inserted values into a DXB body, behaves like the format! macro. Example:
use datex_core::compile;
compile!("4 + ?", 42);
compile!("? + ?", 1, 2);