racket/collects/lang
Eli Barzilay 2189957b6f Change the errortrace protocol for `initialize-test-coverage-point' and
`test-covered' to use just the expression -- looks like there's no
reason to use an additional key.

Also, change its uses to map each syntax to an mcons where its mcar is
used to track coverage.  This is done everywhere, since it turns out to
be much faster to insert a `set-mcar!' with a 3d mpair, rather than a
call to a thunk.

Note that it still uses mpairs as a hack.  It "works" in the same way
that this simplified example does:

  (define-syntax m
    (let ([b (mcons 0 0)])
      (lambda (stx)
        (with-syntax ([b b])
          #'(case-lambda [() (mcar b)]
                         [(x) (set-mcar! b x)])))))

I think that it's fragile, and likely to stop working at some point, but
I don't see anything better for now.
2010-10-04 17:24:22 -04:00
..
private fix string-ith problem, Closes PR 11261 2010-09-28 18:07:10 -04:00
debugger-language-interface.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
doc.txt A lot of "DrScheme" -> "DrRacket"s. 2010-05-17 01:27:03 -04:00
error.rkt More "~n" -> "\n" changes 2010-08-26 12:11:00 -04:00
htdp-advanced-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
htdp-advanced.rkt Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
htdp-beginner-abbr-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
htdp-beginner-abbr.rkt Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
htdp-beginner-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
htdp-beginner.rkt Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
htdp-intermediate-lambda-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
htdp-intermediate-lambda.rkt Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
htdp-intermediate-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
htdp-intermediate.rkt Add `cons-of' signature constructor to HtDP languages. 2010-09-22 11:31:24 +02:00
htdp-langs.rkt Change the errortrace protocol for `initialize-test-coverage-point' and 2010-10-04 17:24:22 -04:00
htdp-lib.scrbl rackety misc docs 2010-05-07 09:13:51 -06:00
htdp-reader.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
imageeq.rkt A lot of "MrEd" -> "GRacket"s. 2010-05-16 23:46:05 -04:00
info.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
plt-pretty-big-text.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
plt-pretty-big.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
posn.rkt Adding match to ASL 2010-07-22 15:39:53 -06:00
prim.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
r5rs.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
run-teaching-program.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
stepper-language-interface.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00
test-error.rkt rename all files .ss -> .rkt 2010-04-27 16:50:15 -06:00