<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -11,14 +11,26 @@ class Object
   end
 
   def respond_to?
-    %s(puts &quot;Object#respond_to not implemented&quot;)
+    puts &quot;Object#respond_to not implemented&quot;
   end
 
   def is_a?
-    %s(puts &quot;Object#is_a? not implemented&quot;)
+    puts &quot;Object#is_a? not implemented&quot;
   end
 
   def __send__ sym, *args
     %s(printf &quot;WARNING: __send__ bypassing vtable not yet implemented. Called with %s\n&quot; (callm sym to_s))
   end
+
+  # FIXME: Belongs in Kernel
+# FIXME: Add splat support for s-expressions / call so that
+# the below works
+#  def printf format, *args
+#    %s(printf format (rest args))
+#  end
+
+  # FIXME: Belongs in Kernel
+  def puts str
+    %s(puts str)
+  end
 end</diff>
      <filename>lib/core/object.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>195ca3c08637dba4aa5ecfd7dc9dc93b9eb318ae</id>
    </parent>
  </parents>
  <author>
    <name>Vidar Hokstad</name>
    <email>vidar@hokstad.com</email>
  </author>
  <url>http://github.com/vidarh/writing-a-compiler-in-ruby/commit/df5229449af7758a82d6f94b41d29750abed16c1</url>
  <id>df5229449af7758a82d6f94b41d29750abed16c1</id>
  <committed-date>2009-09-12T15:33:17-07:00</committed-date>
  <authored-date>2009-09-12T15:33:17-07:00</authored-date>
  <message>Added #puts, and comments for (non-working) #printf, to start reducing the need for s-expressions</message>
  <tree>5e5bb6d5e3a9d68704359a04f0358f247b790ab8</tree>
  <committer>
    <name>Vidar Hokstad</name>
    <email>vidar@hokstad.com</email>
  </committer>
</commit>
