Erlang logo
User's Guide
Reference Manual
Release Notes
PDF
Top

Syntax_Tools
Reference Manual
Version 1.7


Expand All
Contract All

Table of Contents

merl_transform

MODULE

merl_transform

MODULE SUMMARY

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()

Richard Carlsson carlsson.richard@gmail.com