title: Programming language for configuration
body: <p>I need a configuration language with a little code. I'm trying to use scala. Can I write in Scala or in other JVM language something like</p>
  
  <pre><code>... = car() {
      title = "Experimental Car"
      engine = dieselEngine() {
          capacity = 1.9
      }
  }
  </code></pre>
  
  <p>instead of </p>
  
  <pre><code>val c = car()
  c.title = "Experimental Car"
  c.engine = c.dieselEngine()
  c.engine.capacity = 1.9
  </code></pre>
  
  <p>It is important, that dieselEngine is method on car.</p>