Module merl_transform

Parse transform for merl.

Copyright © 2012 Richard Carlsson

Authors: Richard Carlsson (carlsson.richard@gmail.com).

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("merl/include/merl.hrl"). enables the transform, unless the macro MERL_NO_TRANSFORM is defined first.

Function Index

parse_transform/2

Function Details

parse_transform/2

parse_transform(Forms, Options) -> any()


Generated by EDoc