Commits

seydar  committed cc4b508 Draft

added the num builtin to convert input to a fixnum

  • Participants
  • Parent commits c4bf99c

Comments (0)

Files changed (2)

 FAILURES:
 *   `pdflatex("full.tex") > NULLOUT` fails to produce the PDF,
     but `... > 'test'` works. weird.
+*   ^C on running ruby programs kills the whole interpreter... womp.
 
 Questions:
 *   Why do you have to do @line = '' in Coolline in order to not affect the

File lib/chitin/commands/builtins.rb

   
       def gem(*a); raw_exec("gem", *a); end
       def all; D('.'); end
+
+      def num; L {|i| i.to_i }; end
     end
     include Aliases