title: How to parse config file with erlang?
body: <p>i am developing one program with erlang, which need to read config file when starting, then load the config data to database. originally, using Ruby or C i can load YAML file or conf file. I want to know, in erlang's world, is there any good way to load config file? thanks!</p>
  
  <p>This is the YAML-Style file I need to load, and i do not care the style of the config file</p>
  
  <pre><code>a:
    a1:
      a2: 1
      a3: 2
  b:
    b1:
      b2: 3
      b3: 4
  </code></pre>