Chapter 3. Scripting And Extending Synopsis

Table of Contents

The ASG
The Processor class
Composing A Pipeline
Writing your own synopsis script
Importing all desired processors
Composing new processors
Defining New Processors
Exposing The Commands

Often it isn't enough to provide textual options to the synopsis tool. The processors that are at the core of the synopsis framework are highly configurable. They can be passed simple string / integer / boolean type parameters, but some of them are also composed of objects that could be passed along as parameters.

While synopsis provides a lot of such building blocks already, you may want to extend them by subclassing your own.

In all these cases scripting is a much more powerful way to let synopsis do what you want. This chapter explains the basic design of the framework, and demonstrates how to write scripts using the built-in building blocks as well as user extensions