Rune - Add File.format method
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2016 00:50:23 +0000 (16:50 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 31 Jan 2016 00:50:36 +0000 (16:50 -0800)
commit50cdfa499eecd6a1e6dc8a8def0cc99ce3b60d91
tree5a0e99cfaec57f77a7600609de1bb14be4356538
parent7de7f636918f4a346ff22c668054587863551cfc
Rune - Add File.format method

* Add File.format, e.g. stdout->format("printflikectl", ...) and
  test against most common cases.

* Note that in Rune var-args functions can case types, so the printf-like
  control does not implement 'l' or 'z' or 'q' or things like that.
  It implements the '#', '0', '-', '+', and ' ' prefixes and it
  implements 'd', 'u', 'o', 'x', 'f', 'g', 'e', 'p', 'c', and 's' controls,
  plus appropriate upper-case controls and field width / precision
  specifications.  '*' is also implemented for field width / precision.

  Unlike C, integer arguments can be of any signed or unsigned integer
  type, floating arguments can be any of the floating types, and '*'
  field widths can also be any signed or unsigned integer type.

* Flesh out the printing of floating point numbers.
classes/stdio/show.d
docs/grammer.html
librune/exp.h
tests/float.d
tests/format.d [new file with mode: 0755]
tests/lvalue2.d