mighty-gerbils / gerbil

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

C4 linearization: C3 with extra struct (linear) inheritance constraint #1118

Closed fare closed 4 months ago

fare commented 5 months ago

Extends the C3 algorithm with a 4th constraint, that struct subclasses can only mix if they form a linear struct inheritance chain (ie no diamonds).

This allows us to:

netlify[bot] commented 5 months ago

Deploy Preview for elastic-ritchie-8f47f9 ready!

Name Link
Latest commit 2d6648c0a616c431d4c5c412ff3e8dd59c3ec11a
Latest deploy log https://app.netlify.com/sites/elastic-ritchie-8f47f9/deploys/65c90e49f9bc8600080d13dc
Deploy Preview https://deploy-preview-1118--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.

vyzo commented 4 months ago

fixed a bunch of things and removed dead code; make-class-instance is now just make-instance and the artist formerly known as make-instance is a make-new-instance.