MYaml


YAML importer built on SnakeYAML


(* Example 2.10 from the YAML spec *)
In[1]:= ImportString["---
 hr:
   - Mark McGwire
   # Following node labeled SS
   - &SS Sammy Sosa
 rbi:
   - *SS # Subsequent occurrence
   - Ken Griffey", "YAML"]

Out[1]= {
          "hr" -> {"Mark McGwire", "Sammy Sosa"}, 
          "rbi" -> {"Sammy Sosa", "Ken Griffey"}
        }