Tonel is a file-per-class format for monticello repositories.
Metacello new
repository: 'github://pharo-vcs/tonel';
baseline: 'Tonel';
load.
[comment]
type { typeDefinition }
(
[{ methodMetadata }]
method [
methodBody ]
)*
-
comment a comment declaration as this:
" comment string "
is optional (but it should be there, in good design ;)
-
type Class|Trait|Extension
-
typeDefinition a STON file with class/trait/extension metadata
-
methodMetadata a STON file with method metadata is optional (but also, recommended)
-
method method declaration as this:
Class[ class] >> selector
-
methodBody the method body (we do not parse contents, that's classbuilder task)