This is an old revision of the document!
OTM: Open Trace-based Mechanism
OTM is an open implementation of trace-base mechanisms, like Tracematches , Halo, Alpha, etc, for JavaScript. Currently, OTM is working as an AscpectScript extension. Like AspectScript, OTM supports Mozilla Firefox, Safari, Chrome, and Opera (no plug-ins or add-ons required!) and does not extend of the JavaScript syntax. OTM, which adopts object-oriented programming and open implementation as its core design principles, is focused in opening the following points of a trace-based mechanism:
- Sequence definition Most of trace-based mechanism define sequences using a domain-specific language, which is not commonly Turing Complete. Instead, OTM allows developers to define sequence using the power of the base language.
- The strategy of multiple matching Almost all trace-based mechanisms have different strategies of multiple matching, which are non-configurable. Instead, OTM allows developers to define the strategy of multiple matching.
- The life cycle of the sequences Unlike current trace-based mechanisms, OTM allows developers to control the life cycle of the sequences. For example, OTM can remove or match all (or a group of) sequences partially matched if some condition is satisfied.
* Do you want to try OTM? You can download OTM from the following svn: http://pleiad.dcc.uchile.cl/svn/incubator/otm/