Adam Grammar Changes

Contents

  1. Allow the when clause to contain multiple relations
  2. Shorthand for direct relationships between two cells

Allow the when clause to contain multiple relations

Instead of:

   when (p) relate { ... }
   when (p) relate { ... }
   when (!p) relate { ... }
   when (!p) relate { ... }

we have:

   when (p)
   {
      relate { ... }
      relate { ... }
   }

   when (!p)
   {
      relate { ... }
      relate { ... }
   }

or even:

   when (p)
   {
      relate { ... }
      relate { ... }
   }
   otherwise // 'else' seems too if-like; some word for "when not"
   {
      relate { ... }
      relate { ... }
   }

Shorthand for direct relationships between two cells

Instead of:

   relate {
      y <== x;
      x <== y;
   }

we have:

   relate {
      x <=> y;
   }

or even:

   relate x <=> y;
blog comments powered by Disqus