eignnx / affix-grammar

An affix-grammar format and sentence generator.
Mozilla Public License 2.0
0 stars 0 forks source link

panic/cut symbol #18

Open eignnx opened 4 years ago

eignnx commented 4 years ago

it seems like sometimes you might want to just discard a result when ur deep in a case analysis. maybe there outta be a symbol that will just discard the current trace and tell the generator to try again.

Syntax

rule thing.Abc.Xyz =
  .a.x -> "a x"
  .b {
    .x -> "b x"
    .* -> !!! -- <--------------------
  }
  .*.* -> "other"