Description
Similar to the above method, but provides additional conveniences regarding systems, based on a convention.
The convention is that the name of your system is the same as that of your base definition class.
First, a new class named name is defined, inheriting from defsys:definition
.
Then, the next method (above) is called to generate a call to defsys:ensure
, except that :base-definition-class 'name
will be appended at the end.
Lastly, a new method is defined on defsys:default-system
, specializing on the new base definition class, which returns the newly defined system.
You should then create a new standard class for your definitions, inheriting from name (your base definition class) and defsys:standard-system
.