Forth Expert · Lesson 7

A tiny object system: vtables and DOES> dispatch

Number methods with a defining word, store xts in per-class tables, dispatch through the object's first cell, and inherit by copying a table.

Lessons · Forth Expert · Lesson 7 of 10

A tiny object system: vtables and DOES> dispatch

Number methods with a defining word, store xts in per-class tables, dispatch through the object's first cell, and inherit by copying a table.

Illustration for Forth
Number methods with a defining word, store xts in per-class tables, dispatch through the object's first cell, and inherit by copying a table.