Flavors (programming language)
Flavors is an early object-oriented extension to Lisp developed by Howard Cannon at the MIT Artificial Intelligence Laboratory for the Lisp machine and its programming language Lisp Machine Lisp. It is notable as the first programming language to include mixins. Symbolics used it for its Lisp machines, and eventually developed it into New Flavors; both the original and new Flavors were message-passing OO models. It was hugely influential in the development of the Lisp Object System">Lisp programming language">Lisp Object System.
Implementations of Flavors are also available for Common Lisp.
New Flavors replaced message sending with calling generic functions.
Flavors offers and daemons with the default method combination.
Flavors and CLOS features comparison
Flavors offers a few features not found in CLOS:- Wrappers
- Automatic lexical access to slots using variables within methods.
- Internal flavor functions, macros and substs.
- Automatically generated constructors.
- options:,,.
- function for sending messages.
- Multimethods
- Methods specialized on individual objects.
- Methods specialized on Common Lisp types.
- Methods specialized on def-struct types.
- Class slots.