Next: , Previous: , Up: Bocage methods   [Contents]

14.1 Overview

A bocage is structure containing the full set of parses found by processing the input according to the grammar. The bocage structure is new with Libmarpa, but is very similar in purpose to the more familar parse forests.

To create a bocage, use the marpa_b_new() method.

When a bocage is no longer in use, its memory can be freed using the marpa_b_unref() method.