Clarifications to tpr(0,5a)

[email protected] (Juho Snellman)
Newsgroups perl.golf
Message-ID <[email protected]>
We've clarified a couple of ambiguities in the spec, as well as a 
fixed a conflict between the spec and the tests. The updated files will
be available on perlgolf.sf.net later, but here's a quick list on the
changes:

  Input:
    * Numbers may have leading '0':s. 
    * Negative numbers will have a leading '-'. 
    * Positive numbers won't have a leading '+'.
    * There may be whitespace between the '-' and the first digit 
      of a negative number.
  
  Output:   
    * The test program required the output to have the same tokens
      (excepting parens) as the input. A strict reading of the spec
      only requires it to have the same integers + operators. We've
      now defined "the same integer" as "integers having the same
      value". That is, for the number 007 you may output 7, 07, 007,
      0007, etc. The numbers are always in base-10.

Sorry for the inconvenience.

-- 
Juho Snellman
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.