using plai/gc2/{collector,mutator} in one file

12 views
Skip to first unread message

David Bremner

unread,
Mar 18, 2020, 8:33:57 PM3/18/20
to Racket Users

As part of an effort to use plai/gc2 with the racket handin server
(never having really successfully used the multiple file stuff), I've
been trying (and failing) to use modules in one file for the collector
and mutator.

Attached is the simplest possible example I could cook up using sample
code from the web. In racket 7.6 I get a complaint about 'submod: not a
require sub-form ; in: (submod ".." null-gc)'. That doesn't seem right
to me, but I guess maybe allocator-setup was never tested with a
submodule path. Any workaround/correction is welcome.

test.rkt

Jay McCarthy

unread,
Mar 19, 2020, 9:11:36 AM3/19/20
to David Bremner, Racket Users
The plai languages pre-date submodules, so you're right that they were not tested or designed to support them. It might be possible, but I am skeptical about it being a quick fix. The problem might just be that they are built on `scheme` but if they were built on `racket` everything would just work.

Jay

--
Jay McCarthy
Associate Professor @ CS @ UMass Lowell
http://jeapostrophe.github.io
Vincit qui se vincit.


--
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/87a74ddvyp.fsf%40tethera.net.
Reply all
Reply to author
Forward
0 new messages