Version 3 (modified by 13 years ago) ( diff ) | ,
---|
Macro Support for Squeak
This project is a framework which provides compile-time macros for Squeak. It is primarily focused on macros that need to generate additional methods or check constraints. It is integrated with OmniBrowser and Squeak's Debugger.
How to Install
Environment | |
4.1 | |
Any | |
Any | |
Sources | |
YourConfiguration | |
url to repository
| |
package names
| |
dependents
| |
Misc | |
YourProject@SqueakSource |
Describe necessary explanations how the Metacello script works if there are any non-default steps involved.
You can also use this space to describe the available packages and categories, e.g.:
MyProject-FirstCategory
... Does stuff.
MyProject-SecondCategory
... Just a testbed.
How to Use
To create a macro you have to extend the CTMMacro
class. The following methods are called by the system:
- matchMethodPragma: aPragma
- This should return true if the macro wants to process a method annotated with aPragma or false otherwise. Additionally the method can be used to store additional information that are found in the pragma, e.g. pragma parameters.
- matchClassPragma: aPragma
- Same as matchMethodPragma: but for classes and their pragmas.
How to Extend
Internal documentation. Show models, explain the architecture. Do anything that may help a new developer to extend this project.
Acknowledgments
To date the following contributors:
- Michael Grünewald
- Stefan Richter