Matthew,
On 29 Mar 2013 03:03, "Matthew Flatt" wrote:
> FWIW, there are number-parsing regexp constructions in
>
> collects/r6rs/private/readtable.rkt (see `rx:number')
> [...]
>
> The first, as the path suggests, is R6RS instead of Racket.
I've just looked at the R6RS regexps. Thanks for the p
At Fri, 29 Mar 2013 13:23:17 +, Tim Brown wrote:
> The reader's definition (above) explicitly states that E is only an
> exponent marker for bases 2, 8 and 10 -- would you not be changing the
> meaning of #x1E+2 from 1 E 2 to... er... whatever 16^2 is? Or does the
> lack of delimiters in #x1E+2
On 29/03/2013 03:03, Matthew Flatt wrote:
Let's fix the docs. My current attempt is
The grammar in the docs may not be wrong. I re-read it, in conjunction
with the preamble on "Reading Numbers". Although, strictly, it is
correct and covers all cases, it is (IMHO) quite hard to read. I wonder
wh
Let's fix the docs. My current attempt is
‹exact-rationaln›::= [‹sign›] ‹unsigned-rationaln›
‹unsigned-rationaln› ::= ‹unsigned-integern›
| ‹unsigned-integern› / ‹unsigned-integern›
‹exact-integern› ::= [‹sign›] ‹unsigned-integern›
‹unsigned-integern› ::= ‹di
Folks,
I'm trying to get a GeSHi highlighter together for racket (in support of,
amongst other things) rosettacode.
I have the regular expression below for matching racket numbers (it is
about three characters shorter than just listing all exact and inexact
complex numbers). However, it does not
5 matches
Mail list logo