comacro 0.0.1

Declarative Rust static analysis with macro-like syntax
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
macro manual_swap($t: ident, $x: expr, $y: expr) {
    let $t = $x;
    $x = $y;
    $y = $t;
}

macro test_bracketed($x:expr) {
    ($x + $x)
}

macro test_bracketed2($x:expr, $y:ident) {
    ($x + $y)
}