On Thu, Mar 1, 2012 at 3:22 AM, Dmitry Pavlov <dpav...@ipa.nw.ru> wrote: > > I once implemented a DSL called "slon" in Racket. > My programs start with "#lang slon", and I open > them in DrRacket, edit, run, and debug them. > > To make Racket aware of the DSL, I can either put a symbolic > link to my code into the standard collects directory: > > ln -s /home/dpavlov/work/slon ~/.racket/5.2.1/collects > > or alternatively I can use DrRacket's GUI to add the "work" > folder itself into collection paths: Choose Language -> > Details -> Collection Paths -> Add -> /home/dpavlov/work.
I'm not sure about the larger issue, but the best way to add new collections now is to use 'raco link', like this: $ cd ~/work/ $ raco link slon Then you can use 'slon' as a collection, with no extra work. Docs are here: http://docs.racket-lang.org/raco/link.html -- sam th sa...@ccs.neu.edu ____________________ Racket Users list: http://lists.racket-lang.org/users