tvl-depot/users/tazjin
Vincent Ambo fe97398fd9 refactor(tazjin/rlox): Thread lifetimes through interpreter
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
2021-01-14 15:19:01 +00:00
..
aoc2019 chore(writeElispBin): Move from //overrides to //nix 2020-12-01 12:55:59 +00:00
aoc2020 feat(tazjin/aoc2020): Add solution for day 8, part 2 2020-12-10 13:20:57 +00:00
atom-feed refactor(tazjin/atom-feed): Make content optional 2020-08-10 23:24:44 +00:00
blog feat(tazjin/homepage): Add Atom feed for blog posts 2020-08-10 23:24:44 +00:00
cloud-dns chore(ops): Clean up old GCP infrastructure files 2020-06-29 21:24:49 +00:00
covid feat(tazjin/covid): Add jq script for wrangling CDC data 2020-11-27 02:24:42 +00:00
dotfiles chore(users/tazjin): Remove offlineimaprc 2020-06-14 16:59:19 +00:00
dt chore(3p): upgrade llvm to version 11 2020-11-29 03:02:14 +00:00
emacs chore(3p): Bump NixOS channels to 2021-01-09 2021-01-13 16:53:20 +00:00
finito chore(tazjin/finito): Add build configuration 2020-06-30 04:14:27 +00:00
homepage feat(tazjin/homepage): Add entry for the Joscha Bach interview 2020-08-10 23:24:44 +00:00
nisp feat(tazjin/nisp): Add initial source-to-source transform 2021-01-09 16:52:34 +00:00
nixos chore(3p/lieer): Upgrade to lieer 1.3 2020-12-14 19:41:30 +00:00
presentations chore(tazjin): Move my presentations to my user directory 2020-06-26 19:51:51 +00:00
rlox refactor(tazjin/rlox): Thread lifetimes through interpreter 2021-01-14 15:19:01 +00:00
wallpapers chore(tazjin): Move wallpapers into my user folder 2020-08-01 14:13:14 +00:00
avatar.jpeg feat(tazjin): Check in higher-quality version of avatar 2020-12-06 00:48:52 +00:00
hanebuschtag.txt feat(tazjin): Check in hanebuschtag.txt 2020-12-06 00:48:52 +00:00
keys.nix chore(tazjin/keys): Add S10e key 2020-09-06 17:15:14 +00:00
OWNERS chore(users/tazjin): Add OWNERS file 2020-06-14 02:15:30 +00:00
renderMarkdown.nix refactor(tazjin/blog): Extract post rendering to utility function 2020-08-10 23:24:44 +00:00