This is a sign to go learn more about procedural macros, will be back in a week.
All checks were successful
/ Test-Suite (push) Successful in 19s

This commit is contained in:
Rowan Torbitzky-Lane 2025-04-14 00:46:43 -05:00
parent 7e8b6750b9
commit a3d0e1a886

View File

@ -7,6 +7,11 @@ use crate::push::state::PushState;
#[macro_use]
pub mod macros {
#[macro_export]
macro_rules! type_map {
($x:ident) => {};
}
/// A macro that makes a push instruction given: the name of the input stack to use,
/// the name of the output stack, an internal function to call, the type of a function,
/// and the arity of the internal function call.