merl_transform — syntax_tools v4.1

Search documentation of syntax_tools

# merl_transform (syntax_tools v4.1)

Copy Markdown View Source

Parse transform for merl.

Enables the use of automatic metavariables and using quasi-quotes in matches and case switches. Also optimizes calls to functions in `merl` by partially evaluating them, turning strings to templates, and so on, at compile-time.

Using `-include_lib("syntax_tools/include/merl.hrl").` enables this transform, unless the macro `MERL_NO_TRANSFORM` is defined first.