Is this Alloy model cheating?
问题 Some Request for Comments (RFCs) have these two rules: 1. Each comma character must be escaped with a backslash. 2. A backslash that is not being used to escape a comma must be escaped with a backslash. Here are valid values: A\,B A\\\,B A\\\\\\\,B Here are invalid values: A\\,B A,B A\\\B I created two Alloy models. My second Alloy model has two signatures for backslashes: sig Backslash extends Char {} sig EscapedBackslash extends Char {} The latter, of course, represents a double backslash.