glimmerjs / glimmer-vm

MIT License
1.13k stars 191 forks source link

Streamline and modernize naming #1663

Closed wycats closed 4 days ago

wycats commented 1 week ago

This PR pulls out the naming and documentation changes in #1649 so they can be landed separately.

The naming changes are focused on:

  1. Removing distinctions that only existed between JIT and AOT mode.
  2. Renaming most of the leftover "JIT" naming to just refer to the VM (which only has a JIT mode now)
  3. Consolidating interfaces in situations where the separate interfaces were never used to implement separate implementations of things. For example, there is only a single implementation of Constants, Program, Heap, etc, and the previous factoring was put into place for AOT mode.
  4. Renaming tree builder concepts to use the term "tree builder" rather than "elements".