[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Date Index][
Thread Index][
Author Index]
Re: Naming a software looper
Dan Ash wrote:
> I kinda liked 'D'Loop' or 'D-Loop', with the idea of repeating it one or
> more times. What would the BNF notation look like?
>
> *(Anyone)?
Original BNF does not have a meta-symbol for repetition, though
a commonly used extension is to use braces for "zero or more".
program := {statement}
Other languages like regexp, use * for "zero or more" and + for "one or
more".
Jeff