main: Dispatch verbs to objects separately
The existing implementation of code stores objects as a dictionary
containing a type, implementation-specific data and a list of verbs.

Unfortunately this creates a circular dependency: Verbs need to supply
all possible verbs when creating an object as a return value.

To solve this, separate the manipulations of objects from the dispatch
of verbs attached to them.
1 parent 4e0b0aa commit 9c48b8fcd878580853d3c8c296d9427d14b1257b
@Jookia Jookia authored on 1 Apr 2021
Showing 1 changed file
View
main.py