Brent Roman wrote:
> I'm not sure I would advocate making Ruby's grammar even more
> byzantine (e.g. where, exactly, are parenthesis required vs. optional?)
> but, "wenn schon, denn schon":
> 
> The "number_literal_r" is too restrictive.  Even lowly 'C' has
> constants like "100ul" and "100bL"  The last character
> is not all that is needed to determine a constant's type.
> 
> Why not add something more similar to obj.method_missing for 
> unrecognized numeric literals?  If a token begins with a digit and 
> cannot be parsed into a number, Ruby calls
> 
>   Kernel.unrecognized_numeric_literal (tokenString)

Note that this would prevent separating the parser from the runtime 
system. Imagine precompilation to bytecode. If you want this, then the 
method belongs into the parser class (there's no such parser class yet ;-).

Regards,

   Michael