![]() There's no place-channel communication yet --- just enough of a conversion to thread-load storage to make places possible. In contrast to traditional Racket, where the expander linklet is instantiated once per place, the flattened expander linklet is instantiated only once in RacketCS (because it's inlined into a Chez Scheme library). The expander therefore needs to keep per-place state separate, and the same for the thread, io, and regexp laters. In the expander/thread/io/regexp source, place-local state is put in an unsafe place-local cell. For traditional Racket, a place-local cell is just a box. For RacketCS, the thread through expander layers are compiled in a way that maps each cell to a fixed index in a vector that is stored in a virtual register, so the value is roughly two pointer indirections away (thread context -> virtual register array -> place-local vector). Multiple Chez Scheme threads in a place, such as threads to run futures, share the same place-local vector. Although `place-enabled?` reports #f, `dynamic-place` from `'#%place` can create a place as a Chez Scheme thread and load a module there. |
||
---|---|---|
pkgs | ||
racket | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
appveyor.yml | ||
INSTALL.txt | ||
Makefile | ||
README.md |
This is the source code for the core of Racket. See "INSTALL.txt" for full information on building Racket.
To build the full Racket distribution from this repository, run make
in the top-level directory. To build minimal Racket, run make base
.
The rest of the Racket distribution source code is in other repositories, mostly under the Racket GitHub organization.
Contribute to Racket by submitting a pull request, joining the development mailing list, or visiting the IRC channel.
License
Racket Copyright (c) 2010-2018 PLT Design Inc.
Racket is distributed under the GNU Lesser General Public License (LGPL). This implies that you may link Racket into proprietary applications, provided you follow the rules stated in the LGPL. You can also modify Racket; if you distribute a modified version, you must distribute it under the terms of the LGPL, which in particular states that you must release the source code for the modified software.
See racket/src/COPYING_LESSER.txt for more information.