cheesestraws / calculogue

The Calculogue is an exercise in comparative programming.
5 stars 2 forks source link

Spec: clearer definition of verb name format #9

Open fallax opened 4 years ago

fallax commented 4 years ago

Section 1.3 says a verb invocation consists of "a backslash () followed by one or more characters that are not whitespace and not full stop (.), comma (,), colon (:) or semicolon (;)".

Section 2.4, 3.3, 1.6 seem to suggest a verb name can be any string or word (and so could include spaces or be an empty string).

Which types of character are and are not included?

Funniest approach: allow whitespace, but otherwise use 1.3 definition? This allows the creation of verbs that can't directly be called without generating code.

Any decision should go with a specific note in 3.3 to indicate what validation if any happens when a verb is defined.