kdl-script icon indicating copy to clipboard operation
kdl-script copied to clipboard

implement varargs

Open Gankra opened this issue 3 years ago • 1 comments

Strawman varargs syntax for saying there's varargs but that you want to test this particular set of values passed in them:

func "blah" {
    inputs {
        x "u32"
        "..." {
            _ "f32"
            _ "f32"
        }
    }
}

SUB TODO: figure out if varargs should allow for specifying what the callee and caller think is happening as different

SUB TODO: figure out if we should try to support that fucked up thing where Swift supports multiple named varargs lists

Gankra avatar Oct 15 '22 22:10 Gankra

cc https://github.com/Gankra/abi-cafe/issues/1

Gankra avatar Oct 15 '22 22:10 Gankra