rbx-rsml 0.1.12

A lexer and parser for the RSML language.
Documentation
-- Macros which are built in to RSML.

@macro Padding (&all) {
    ::UIPadding {
        PaddingTop = &all;
        PaddingBottom = &all;
        PaddingLeft = &all;
        PaddingRight = &all;
    }
}

@macro Padding (&top_bottom, &left_right) {
    ::UIPadding {
        PaddingTop = &top_bottom;
        PaddingBottom = &top_bottom;
        PaddingLeft = &left_right;
        PaddingRight = &left_right;
    }
}

@macro Padding (&top, &left_right, &bottom) {
    ::UIPadding {
        PaddingTop = ⊤
        PaddingLeft = &left_right;
        PaddingRight = &left_right;
        PaddingBottom = ⊥
    }
}

@macro Padding (&top, &right, &bottom, &left) {
    ::UIPadding {
        PaddingTop = ⊤
        PaddingRight = &right;
        PaddingBottom = ⊥
        PaddingLeft = &left;
    }
}

@macro CornerRadius (&radius) {
    ::UICorner {
        CornerRadius = &radius;
    }
}

@macro Scale (&scale) {
    ::UIScale {
        Scale = &scale;
    }
}