<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -32,7 +32,7 @@ class FuTreeDSLInterpreter extends Fu {
 	function symStr($node) { return $node-&gt;value(); }
 	function symFn($node) { return with(new $this)-&gt;body($node); }
 	function symNodeOf($node) { return n($this-&gt;evaluate($node)); }
-	function symExpr($node) { return eval('return ' . $node-&gt;value() . ';'); }
+	function symExpr($node) { return eval('return ' . join(NL, $node-&gt;values()) . ';'); }
 	function symCall($node) { return $this-&gt;evaluate($node)-&gt;output($this-&gt;output)-&gt;call(); }
 	function symThisFn() { return $this; }
 </diff>
      <filename>lib/tree_dsl.php</filename>
    </modified>
    <modified>
      <diff>@@ -49,7 +49,10 @@ class WriteSpec extends DSLInterpreterSpec {
 class ExprSpec extends DSLInterpreterSpec {
 
 	function _should_evaluate_php_and_return_result() {
-		_($this-&gt;subj-&gt;run(n('expr', n('join(&quot;/&quot;, array(&quot;a&quot;, &quot;b&quot;))'))))-&gt;shouldBe('a/b'); } }
+		_($this-&gt;subj-&gt;run(n('expr', n('join(&quot;/&quot;, array(&quot;a&quot;, &quot;b&quot;))'))))-&gt;shouldBe('a/b'); }
+
+	function _should_allow_multiple_lines_of_php_joined_with_nl() {
+		_($this-&gt;subj-&gt;run(n('expr', n('&quot;foo'), n('bar&quot;'))))-&gt;shouldBe(&quot;foo\nbar&quot;); } }
 
 class IfSpec extends DSLInterpreterSpec {
 </diff>
      <filename>spec/tree_dsl.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>aa045bee1170185d33ef0ddf5bf99d42d6a37325</id>
    </parent>
  </parents>
  <author>
    <name>ole</name>
    <email>oliver.saunders@gmail.com</email>
  </author>
  <url>http://github.com/olliesaunders/fluidics/commit/e000b15d43b38a2adb4b880beb5cd905fc30ab91</url>
  <id>e000b15d43b38a2adb4b880beb5cd905fc30ab91</id>
  <committed-date>2009-11-08T09:41:42-08:00</committed-date>
  <authored-date>2009-11-08T09:41:42-08:00</authored-date>
  <message>Tree DSL: expr now allows multiple lines of expression.</message>
  <tree>59ae7ce45a869ebd1ceaf379e0dfae3186bc13e5</tree>
  <committer>
    <name>ole</name>
    <email>oliver.saunders@gmail.com</email>
  </committer>
</commit>
