1 2 3 4 5 6 7 8 9
|
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter3.Scripting and extending synopsis</title><link rel="stylesheet" href="synopsis.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.65.1"><link rel="home" href="index.html" title="Synopsis Tutorial"><link rel="up" href="index.html" title="Synopsis Tutorial"><link rel="previous" href="misc.html" title="Miscellaneous"><link rel="next" href="ast.html" title="The AST"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter3.Scripting and extending synopsis</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="misc.html">Prev</a></td><th width="60%" align="center"></th><td width="20%" align="right"><a accesskey="n" href="ast.html">Next</a></td></tr></table></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="scripting"></a>Chapter3.Scripting and extending synopsis</h2></div></div><div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ast.html">The AST</a></span></dt><dt><span class="section"><a href="processor.html">The Processor class</a></span></dt><dt><span class="section"><a href="pipeline.html">Composing a pipeline</a></span></dt><dt><span class="section"><a href="script.html">Writing your own synopsis script</a></span></dt><dd><dl><dt><span class="section"><a href="script.html#importing">Importing all desired processors</a></span></dt><dt><span class="section"><a href="script.html#composing">Composing new processors</a></span></dt><dt><span class="section"><a href="script.html#extending">Defining new processors</a></span></dt><dt><span class="section"><a href="script.html#process">Exposing the commands</a></span></dt></dl></dd></dl></div><p>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.</p><p>While synopsis provides a lot of such building blocks already, you may
want to extend them by subclassing your own.</p><p>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</p></div><div class="navfooter"><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="misc.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="index.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="ast.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Miscellaneous</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">The AST</td></tr></table></div></body></html>
|