---
name: "merl_transform"
section: "3erl"
platform: "linux"
package: "erlang-manpages"
version: "1:25.2.3+dfsg-1+deb12u4"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/merl_transform"
---

# merl\_transform(3erl)

Parse transform for merl.

## NAME

merl\_transform - Parse transform for merl.

## DESCRIPTION

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, etc., at compile-time.

Using *-include\_lib("syntax\_tools/include/merl.hrl").* enables this transform, unless the macro *MERL\_NO\_TRANSFORM* is defined first.

## EXPORTS

**parse\_transform(Forms, Options) -\> term()** \

## AUTHORS

Richard Carlsson *\<carlsson.richard@gmail.com\>*
