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
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
478ec22d02
add with-roots to plai's gc languages
2013-02-26 12:41:25 -06:00
Matthew Flatt
b5ab6cec7e
fix misc tests for error-message change
2012-05-26 08:18:19 -06: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