Rule 107 (Joev: Mutable) Parsing Proposals.

1. The Format of a Proposal In order to be proposed, a Proposal must be expressed in the following parseable format.

Each Proposal must be a sequence of two or more Blocks. Each Block must consist of a Command, followed by a Body. Each Body must consist of 0 or more lines of text, none of which begins with "#". Each Command must be a single line in one of the following formats: 1) "# Emergency" This is a statement to the effect that the Proposal is an Emergency Proposal. A command of this type is known as an Emergency Command. 2) "# Enact" A command of this type is known as an Enact Command. 3) "# Repeal " followed by the ID of an existing mutable rule. A command of this type is known as a Repeal Command. 4) "# Reenact " followed by an ID which is not the ID of an existing rule, and which was at some point in the past the ID of a mutable rule. A command of this type is known as a Reenact Command. 5) "# Amend " followed by the ID of an existing mutable rule, or an ID for which there has been a Reenact Command earlier in the Proposal. A command of this type is known as an Amend Command. 6) "# Transmute " followed by the ID of an existing rule. A command of this type is known as a Transmute Command. 7) "# Change" A command of this type is known as a Change Command. 8) "# Seconds " followed by a Namelist. This a statement to the effect that the players listed in the Namelist have seconded the Proposal. A command of this type is known as a Seconds Command. 9) "# Comment" A command of this type is known as a Comment Command.

Each Namelist consists of a Name, followed by 0 or more Extranames. An Extraname consists of ", " followed by a Name. A Name is the Nomic name of a registered player.

For any given ID, there may be at most one Repeal, Transmute, or Amend Command with that ID in the Proposal. For any given ID, there may be at most one Repeal, Reenact, or Transmute Command with that ID in the Proposal.

If there is an Emergency Command in the proposal, no Command which is not a Comment Command may appear prior to that Emergency Command. There must be exactly one Seconds Command in the proposal, and no Command which is not a Comment Command may appear subsequent to the Seconds Command. There must be at least one Command in the proposal which is not an Emergency Command, a Seconds Command, or a Comment Command.

2. What Happens When a Proposal Takes Effect When a Proposal takes effect, each successive Block is Interpreted sequentially. If, in the course of Interpreting these Blocks, any step is not possible under the rules (e.g. an immutable rule is repealed, or an ID which was never the ID of a mutable rule is reenacted), all Interpretations of the Blocks of the Proposal are revoked; i.e. the game is returned to its state before the first Block of the Proposal was Interpreted.

3. What Happens When a Block is Interpreted Depending on the Command of the Block: 1) If it is an Emergency Command: Nothing happens. 2) If it is an Enact Command: A new mutable Rule is added to the Rules with the text contained in the Body of the Block (hereafter known as the Body.) 3) If it is a Repeal Command: The mutable Rule with the ID specified in the Command ceases to be a mutable Rule. 4) If it is a Reenact Command: The mutable Rule which was first associated with the ID specified in the Command is added to the Rules, with the original text of that mutable Rule and the same ID as that mutable rule. 5) If it is an Amend Command: The mutable Rule with the ID specified in the Command has its text changed to the text contained in the Body. 6) If it is a Transmute Command: If the ID specified in the Command is the ID of a mutable Rule, that Rule becomes immutable. If the ID specified in the Command is the ID of an immutable Rule, that Rule becomes mutable. 7) If it is a Change Command: If the game state change specified in the Body does not directly contradict any rules, the game state is changed as specified in the Body. 8) If it is a Seconds Command: Nothing happens. 9) If it is a Comment Command: Nothing happens.