The following examples show off various interesting features of Dylan. Most of these should work just fine under recent versions of Gwydion, and none of them rely on hypothetical external routines.
Everything but the C interfaces should work in Open Dylan, too.
Basic Language Features
- Everything’s a Value
- Keyword Arguments
- Multiple Values
- References & Garbage Collection
Efficiency
- Optional Type Declarations
- Limited Types
Objects and Generic Functions
- Classes and
make
- Getters and Setters are Functions
- Generic Functions
Advanced Features