Open bvssvni opened 8 years ago
Could use the syntax args: opt <- args:"args"
.
: opt
is not specified after the argument name, the sub rule is required: opt
is specified after the argument name, the sub rule is optionalThis works well with Dyon syntax since opt
defaults to opt[any]
.
I'm prototyping a proof assistant written in Dyon and discovered a weakness in the meta converter language:
Here I need two rules for tactics, one that has no arguments and one with arguments. I would like to have one rule for both cases.
Perhaps there is a way to make sub rules optional?