module Thue # Allow matching empty patterns, handle during parsing R_NORMAL_RULE = /^(.*)::=(.*)$/ R_INPUT_RULE = /^(.*)::=:::$/ R_OUTPUT_RULE = /^(.*)::=~(.*)$/ end