hcl/ext
Martin Atkins fffca3d205 ext/transform: helper package for applying transforms to bodies
This utility is intended to support the extension packages that are
siblings of this package, along with third-party extensions, by providing
a way to transform bodies in arbitrary ways.

The "Deep" function then provides a means to apply a particular transform
recursively to a nested block tree, allowing a particular extension to
be supported at arbitrary nesting levels.

This functionality is provided in terms of the standard zcl.Body
interface, so that transform results can be used with any code that
operates generically on bodies. This includes the zcldec and gozcl
packages, so files with extensions can still be decoded in the usual
way.
2017-07-27 16:23:20 -07:00
..
transform ext/transform: helper package for applying transforms to bodies 2017-07-27 16:23:20 -07:00
userfunc ext/userfunc: extension for user-defined functions 2017-07-25 18:34:56 -07:00
README.md ext: A directory for packages implementing zcl language extensions 2017-07-25 18:30:59 -07:00

zcl Extensions

This directory contains some packages implementing some extensions to zcl that add features by building on the core API in the main zcl package.

These serve as optional language extensions for use-cases that are limited only to specific callers. Generally these make the language more expressive at the expense of increased dynamic behavior that may be undesirable for applications that need to impose more rigid structure on configuration.