chrfrantz / IG-Parser

Parser for IG 2.0 Statements encoded in IG Script Notation
GNU General Public License v3.0
7 stars 3 forks source link

Automated detection of nested statement combinations if coded as component pairs #23

Open chrfrantz opened 1 year ago

chrfrantz commented 1 year ago

Introduce ability to automatically recode nested statement combinations encoded as component pairs as nested statement combinations.

Encoding such as { Cac{ ... } [XOR] Cac{ ... } } (i.e., encoding as component pair combination) should be automatically detected (criteria: single component of same type on either side of combination) and recoded as nested statement combination (i.e., Cac{ Cac{ ... } [XOR] Cac{ ... } }) to support coding consistency.

chrfrantz commented 6 months ago

Concern: ambiguous syntax could lead to confusion if explicit component pair combination is intended.