NAME
Clownfish::CFC - Clownfish compiler.
PRIVATE API
CFC is an Apache Lucy implementation detail. This documentation is partial -- enough for the curious hacker, but not a full API.
SYNOPSIS
use Clownfish::CFC::Hierarchy;
use Clownfish::CFC::Binding::Core;
# Compile all .cfh files in $cf_source into 'autogen'.
my $hierarchy = Clownfish::CFC::Hierarchy->new(
source => $cf_source,
dest => 'autogen',
);
$hierarchy->build;
my $core_binding = Clownfish::CFC::Binding::Core->new(
hierarchy => $hierarchy,
dest => 'autogen',
header => $license_header,
footer => '',
);
$core_binding->write_all_modified;
COPYRIGHT
Clownfish is distributed under the Apache License, Version 2.0, as described in the file LICENSE
included with the distribution.