Robby Findler
092d98656c
fix plai/gc2/mutator for the case where a lambda-bound
...
variable is shadowing something
2013-03-21 22:48:05 -05:00
Robby Findler
0e6975fb2c
add 'values' to plai/gc2/mutator language
2013-03-21 22:48:05 -05:00
Eli Barzilay
af6be85ff5
Fix lots of indentation mistakes.
...
(Found by my ayatollah script...)
2013-03-14 10:55:47 -04:00
Robby Findler
da7a525452
oops
...
(and the bigger mystery is why this didn't signal
an error when I ran the tests)
2013-03-09 19:01:31 -06:00
Robby Findler
e0aef0a575
fix two bugs in recent plai commit
2013-03-09 18:59:26 -06:00
Robby Findler
38f5823a59
adjust plai's gc2 language to use roots as the arguments
...
to gc:cons and gc:closure instead of passing locs
This enables the important change, namely that get-root-set
no longer returns roots corresponding to the arguments
of the allocation function that we're in the middle of.
This means that a common error students have (forgetting
to chase the 'hd' and 'tl' pointers in their GC) is
harder to make now, since get-root-set never contains
those locations as roots. (In the past you would have had
to write some pretty non-obvious mutator program to get
that behavior.)
2013-03-09 16:08:00 -06:00
Robby Findler
eb41882843
add tests for plai's get-root-set (in gc2)
2013-03-09 09:22:18 -06:00
Robby Findler
609672bfa1
bugfix in the closure support
2013-03-09 09:22:17 -06:00
Robby Findler
308a65e6ca
fix plai tests
2013-03-07 16:02:51 -06:00
Robby Findler
0889133ca1
unbreak get-root-set
2013-03-07 13:52:37 -06:00
Robby Findler
5c90a7ba83
adjust gc2's mutator language so that void-producing expressions
...
are allowed only in places where the value is discarded
2013-03-07 13:52:36 -06:00
Robby Findler
8a08cfcbbf
adjust plai test suite tests to check the ports that things now go to
2013-02-28 07:12:15 -06:00
Robby Findler
b0ed3b49e0
adjust plai test & co. to print only failing tests to stderr,
...
instead of printing all of them
also, adjust the plai test suites to cope with test results going
to two different places
2013-02-27 21:30:37 -06:00
Robby Findler
727d11df83
adjust plai's test facility to print test failures to stderr
...
instead of stdout (in addition to making errors red in drracket,
this will also make some of the existing test suites more
drdr friendly)
2013-02-27 19:20:26 -06:00
Robby Findler
478ec22d02
add with-roots to plai's gc languages
2013-02-26 12:41:25 -06:00
Robby Findler
4b9d43ce00
unbreak plai random mutator tests
2013-02-07 11:16:04 -06:00
Jay McCarthy
b778e4e03c
enabling shared in plai with some shameless copying of kernel code
2012-11-06 19:53:03 -07:00
Matthew Flatt
b5ab6cec7e
fix misc tests for error-message change
2012-05-26 08:18:19 -06:00
Eli Barzilay
43ef402274
Don't compile test files.
...
(Didn't touch the tiny "test-docs-complete" tests.)
2012-03-13 10:29:13 -04:00
Eli Barzilay
f7c67b49a4
Big newline at EOF scan.
2012-02-29 00:28:11 -05:00
Jay McCarthy
ffcda4741f
Fixing a safe-for-space error that Robby found
2012-02-28 14:15:07 -07:00
Jay McCarthy
172c6379d1
Test is sensitive to heap locations
2012-02-27 12:20:49 -07:00
Robby Findler
9ffc18a000
adjust plai's gc2/mutator so that primitive applications are
...
special and primtives not in an application position is a syntax error
2012-02-24 08:15:03 -06:00
Robby Findler
b811adda7c
fix a bug in the collector (if 'free is a symbol used in the
...
mutator, then the 'find-free-space' functions could fail)
2012-02-20 08:56:30 -06:00
Jay McCarthy
061007f30f
Fixing last dumb mistake?
2012-01-05 14:57:08 -07:00
Jay McCarthy
c2355caef6
Finalizing initial pass on GC2
...
It was not a problem with the particular collector. All allocation
sites need to update the gc-roots-key with their static information.
2012-01-04 19:55:24 -07:00
Jay McCarthy
55e1df1445
See last commit
2012-01-04 19:55:24 -07:00
Jay McCarthy
f80292b4cf
Converting mutators
2012-01-04 19:55:24 -07:00
Jay McCarthy
e4755a5ffc
New GC code
2012-01-04 19:55:24 -07:00
Eli Barzilay
a9b1f993d4
Remove redundant execution bit from some files, convert one CRLF file to LFs.
2011-12-01 03:54:32 -05:00
Jay McCarthy
9d8d36e568
Demonstrating that 10772 is fixed
2011-11-23 10:59:55 -07:00
Jay McCarthy
d64d620c00
Fixing PR10485
2011-11-23 10:59:54 -07:00
Matthew Flatt
c7464dcbd3
mzlib/pconvert: `add-make-prefix-to-constructor' parameter
...
Defaults to #f, which fixes constructor-style printing in `plai'
and `racket', and is set to #t for the HtDP languages.
2011-11-22 19:42:35 -07:00
Jay McCarthy
36a408096c
Fixing an error in quoting found by a student this year
2011-11-17 15:16:22 -07:00
Eli Barzilay
e788903d0e
Remove a bunch of no-longer-needed `compile-omit-paths', and move the
...
few ones into the subcollections.
2011-08-29 16:33:12 -04:00
Jay McCarthy
88bf52c88b
These tests are sensitive to the contract error messages
2011-07-02 12:19:41 -07:00
Eli Barzilay
3157955d40
".ss" -> ".rkt" scan done.
2011-07-02 10:37:53 -04:00
Eli Barzilay
40124a0619
A long overdue scan to eliminate files without terminating newlines.
...
(DrRacket should really do that.)
2011-06-28 02:01:41 -04:00
David Van Horn
760a58b65d
Fixes more spelling errors.
2011-02-04 19:44:13 -07:00
John Clements
d675c7b12a
updated PLAI (and test cases) to use racket language rather than scheme
2011-01-20 10:21:22 -08:00
Jay McCarthy
f2a9aebba5
Fixing contract formatting change
2011-01-07 19:53:00 -07:00
Eli Barzilay
3fb871586f
Removed some exe bits that look redundant.
2010-12-31 15:59:39 -05:00
Jay McCarthy
eecbc539c1
Fixing problem with previous "fix" to mutator-begin
2010-11-24 23:33:42 -05:00
Jay McCarthy
c9dcbb9edb
Failing test
2010-11-24 23:33:42 -05:00
Jay McCarthy
24dbffaf3b
Fixing problem found at Brown
2010-11-17 04:58:09 -07:00
Jay McCarthy
ac4fb05f0c
Correct error in mutator quote
2010-10-28 11:18:28 -06:00
Jay McCarthy
05832af083
Correct handling of procedure env roots in mutator
2010-10-28 11:18:27 -06:00
Jay McCarthy
e6b2965d39
Re-enabling tests
2010-10-15 13:08:39 -06:00
Jay McCarthy
f6fbc85d1b
Adding test printing tests
2010-10-15 13:08:38 -06:00
Jay McCarthy
2447d8d07c
Adding test case to clarify student's error
2010-09-16 21:00:05 -06:00