Changes for version 0.004 - 2024-07-07

  • New ::Enum for building optimal C switch statements for name-to-number lookups of an enum.
  • New available ::Template exports 'format_commandline', 'format_timestamp'
  • POD is suppressed from output by default, now. (Breaks back-compat)
  • Friendly message to user if reading template from tty
  • New "action" commandline options allow sequence of operations on command line: --eval, --call, --out
  • commandline option --out now handles syntax of --section-out, and --section-out is kept as a back-compat alias. (Breaks back-compat, slightly)
  • Passing undef to Cpppp->get_filtered_output is now the same as an empty list (meaning all output)
  • Lots of bug fixes in parsing and rendering.

Documentation

Command line tool to process cpppp templates

Modules

The C Perl-Powered Pre-Processor
AntiCharacters combine with characters to produce nothing
C Parser Utility Library
Helper for enumerations and generating related utility functions
Collect text output into named sections
Base class for template classes created by compiling cpppp

Provides

in lib/CodeGen/Cpppp/Template.pm