EventScript: Using Regular Expressions to Program Event-Processing Agents

Large systems can be constructed out of nodes that consume and produce messages representing events. EventScript is a language for specifying the processing that is to take place at such a node. The underlying structure of an EventScript program is a regular expression for the sequence of events expected to be received. A major goal of EventScript was simplicity, so that the language would be easy to learn, efficient to execute, and easy to port to new target environments. Numerous eventprocessing examples illustrate EventScript programming techniques and the usefulness of EventScript for solving a wide variety of programming problems. We have developed a compiler, run-time environment, and testing tool for EventScript, as well as an API to facilitate the porting of EventScript to new execution environments. EventScript has been incorporated as one element of the DRIVE environment for developing, testing, deploying, and managing sensor/actuator applications.

By: Norman H. Cohen

Published in: RC24387 in 2007


This Research Report is available. This report has been submitted for publication outside of IBM and will probably be copyrighted if accepted for publication. It has been issued as a Research Report for early dissemination of its contents. In view of the transfer of copyright to the outside publisher, its distribution outside of IBM prior to publication should be limited to peer communications and specific requests. After outside publication, requests should be filled only by reprints or legally obtained copies of the article (e.g., payment of royalties). I have read and understand this notice and am a member of the scientific community outside or inside of IBM seeking a single copy only.


Questions about this service can be mailed to .