spwn 0.0.6

A language for Geometry Dash triggers
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// utility macroes
#[no_std, cache_output]
-> return {
    create_range_macro: #[desc("implementation of the range (`..`) operator")] (typ: @type_indicator) {
        -> return (self, other: typ) {
            range = (self as @number)..(other as @number)
            let out = []
            for num in range {
                out.push(num as typ)
            }
            -> return out
        }
    }
}