I suggest you ...

Permit comma-separated options in say phrases

Currently this is not allowed:

To say foo, loudly:
say "Foo";
if loudly, say "!";

The error says: "...phrase options are not allowed for 'say' phrases, because the commas would lead to ambiguous sentences, and because the content of a substitution is intended to be something conceptually simple and not needing clarification."

I am not seeing the ambiguity. (It would be one phrase inside a bracketed substitution, which seems straightforward.)

As for substitutions intended to be simple -- sorry, I don't buy it. The most prominent set of phrase options in Inform is the WriteListFrom routine and its coterie of 15 flags. The phrase "list the contents of..." is conceptually a say phrase already -- it's a routine whose purpose is to print stuff. If this restriction were lifted, I could define a say-phrase equivalent, which seems perfectly natural.

2 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Andrew Z. Plotkin shared this idea  ·   ·  Admin →

    0 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...

      Feedback and Knowledge Base