mighty-gerbils / gerbil

Gerbil Scheme
https://cons.io
GNU Lesser General Public License v2.1
1.15k stars 111 forks source link

Classes are not rogue! #1119

Closed vyzo closed 7 months ago

vyzo commented 7 months ago

This completes the MOP into the future, as classes are no longer rogue type descriptors; they are proper classes themselves, subtyping the gambit rtd.

As such, we drop the "type-descriptor" nomenclature and just call them classes and std has a fatality, misc/rtd is no longer useful; the accessors use ##structure-ref with the real class of classes, so they are safe.

At this point, we can safely say that MOP; Bootstrap, achieved.

Note This pr assumes https://github.com/gambit/gambit/pull/891 for complete correctness and future proofing; once that merges, we should update our gambit pin.

This will also allow us to provide safe rtd field accessors with type-{id,name,super,flags,fields} using a ##strcture-ref with ##type-type as the expected type.

netlify[bot] commented 7 months ago

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
Latest commit f4f2f2ca289b2166f25f4e668221ea31da56c719
Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/65ca9ae66883be0008609340
Deploy Preview https://deploy-preview-1119--elastic-ritchie-8f47f9.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.