AmbiguityList

AmbiguityList[{expr1,expr2,}]

represents possible results derived from an ambiguous semantic interpretation.

AmbiguityList[{expr1,expr2,},"string"]

represents possible results from semantic interpretation of an input string.

AmbiguityList[{expr1,expr2,},"string",{assoc1,assoc2,}]

includes a sequence of associations giving details of the interpretations used to obtain the expri.

Details

Examples

Basic Examples  (5)

Get a list of all possible interpretations:

AmbiguityList may include a substring whose interpretation is ambiguous:

Each interpretation may have an Association describing the nature of the corresponding choice:

Ambiguities can be nested:

Ambiguities can appear within expressions:

Introduced in 2014
 (10.0)