fe97398fd9
In order to store a function in the interpreter's representation of a callable, the lifetimes used throughout rlox need to be threaded through properly. This is currently not optimal, for two reasons: * following the design of the book's scanner, the source code slice needs to still be available at runtime. Rust makes this explicit, but it seems unnecessary. * the interpreter's lifetime is now bounded to be smaller than the source's, which means that the REPL no longer persists state between evaluations Both of these can be fixed eventually by diverging the scanner from the book slightly, but right now that's not my priority. Change-Id: Id0bf694541ff59795cfdea3c64a965384a49bfe2 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2391 Reviewed-by: tazjin <mail@tazj.in> Tested-by: BuildkiteCI |
||
---|---|---|
.. | ||
aoc2019 | ||
aoc2020 | ||
atom-feed | ||
blog | ||
cloud-dns | ||
covid | ||
dotfiles | ||
dt | ||
emacs | ||
finito | ||
homepage | ||
nisp | ||
nixos | ||
presentations | ||
rlox | ||
wallpapers | ||
avatar.jpeg | ||
hanebuschtag.txt | ||
keys.nix | ||
OWNERS | ||
renderMarkdown.nix |