All Projects → devinus → Zucchini

devinus / Zucchini

Licence: unlicense
An Erlang INI parser

Programming Languages

erlang
1774 projects

Zucchini - An Erlang INI parser

Example

1> zucchini:parse_string("
1> [pumpkin]
1> variety = winter
1> name = Pumpkin ; mmm, pumpkin pie
1> fortune = \"Pumpkin carving = Awesome\"
1> weight = 3.3
1> amount = 2
1>
1> [yellow] ; It's just called Yellow!
1> variety = summer
1> name = Yellow Squash
1> weight = 0.3
1> amount = 3
1> ").
{ok,[{pumpkin,[{variety,winter},
               {name,"Pumpkin"},
               {fortune,"Pumpkin carving = Awesome"},
               {weight,3.3},
               {amount,2}]},
     {yellow,[{variety,summer},
              {name,"Yellow Squash"},
              {weight,0.3},
              {amount,3}]}]}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].