Policy Policy
Jump to navigation
Jump to search
Policy Policy is an esoteric programming language inspired by Baba Is You that allows modifying the rules. This is a set of rules for defining rules.
Rules (WIP)
① There must be amending policies. ② Policies must execute sequentially.
Make your language unusable
①X Explanation: # Amending rule 1. ① # For pre-existing rule 1: X # Invalidate this rule. (Negation)
Hello, world
⒉R Hello, world! Explanation: # Rule 1. ⒉R # Rule 2 must be read aloud. # Rule 2. Hello, world! # This has no effect, it is simply read aloud.
Infinite output
⒊F∞ ⒊R ? Explanation: ⒊F∞ # Rule 3 shall be repeated infinity times. ⒊R # Rule 3 must be read aloud. ? # Output
Golfed:
⒉F∞;R ? Explanation: ⒉F∞←R # ← refers to the firstly mentioned rule in this rule. This will make rules act like different rules. ? ↑ Previous rule for the previously mentioned rule. If there are no explicit mentions of rules, refer to the 1st rule. ↓ Next rule. If there are no explicit mentions of rules, refer to the last rule. No mentions to refer to other rules in this rule? This auto-refers to the next rule. If the rule is out of bounds, then the number will be modulo'd by the number of amendment policies. The rule before the first rule is the last rule. $ link with current item. Golfed: F∞←R ? Explanation: F∞←R # Repeat forever the next rule. Also must be read out loud. ? Golfed: ↑ # First rule. F∞ # Repeat forever, ←R # And should be read out loud.