You are using a browser which doesn't fully support Cascading Style Sheets. This site will look much better in a browser that supports web standards, but its content is accessible to any browser or Internet device.

Backend invokation: produce new code

Everything is well prepared now, so we can finally run the backend and generate the results a user is waiting for. There are several ways to do this, but there are useful defaults which make it pretty easy to perform the task. Let's have a look at this default processing first:

    # run the backend
  
    $backend->run(\@streamData);

That's all the necessary code. It enforces the backend to process all tokens in the passed stream data token by token, to detect their type, and to invoke appropriate handlers if registered.

In most cases, this is a very sufficient way to build a translator to a target language. If it is not, you can vary the choice of tokens to handle and the way of stream procesing. More, you can freely navigate through the chapters of a document. See the following subsections for details.