Draft: Resolve "Enhancing EQL Parser"
Incoming changes description:
-
EntityQueryLanguage : Parses DSL strings like
AIRCRAFT()
. -
Handling Multiple Argument : If an entity type (e.g.,
AIRCRAFT
) can take multiple sub‐entities of the same kind (e.g., multipleAIRLINE(...)
clauses), we accumulate them into a Python list internally. -
Merging
__matches__
- In earlier code, merging two
__matches__
dictionaries used+=
, which failed (cannot+=
two dicts). - Now I suggest
dict.update()
and, when the same argument name appears twice, we convert the existing value into a list and append the new one.
- In earlier code, merging two