@main will pass all un-parsed args to a String* parameter if there is one. In the case there are no parsed args, this means:
@main
String*
@main def main(args: String*) = { println(args(0).toDouble+args(1).toDouble) }