rust-hosted-langs / book

Writing Interpreters in Rust: a Guide
https://rust-hosted-langs.github.io/book/
Creative Commons Attribution 4.0 International
479 stars 27 forks source link

Simplify internal pointer types #30

Open pliniker opened 4 years ago

pliniker commented 4 years ago
  1. Is FatPtr (interpreter/src/taggedptr.rs) necessary? Can it be eliminated?
  2. Value (interpreter/src/taggedptr.rs) and TaggedScopedPtr (interpreter/src/safeptr.rs) appear to be near-identical, can we merge them?

Edit book chapter booksrc/interp-tagged-symbols.md to reflect changes.