Home

Awesome

The parse_trans application

Authors: Ulf Wiger (ulf@wiger.net).

Parse_transform utilities

Build Status Hex pm

Introduction

Parse_trans was written in order to capture some useful patterns in parse transformation and code generation for Erlang.

Most notably, perhaps, the module exprecs generates standardized accessor functions for records, and ct_expand makes it possible to evaluate an expression at compile-time and substitute the result as a compile-time constant.

Less known modules, perhaps:

Modules

<table width="100%" border="0" summary="list of modules"> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/ct_expand.md" class="module">ct_expand</a></td></tr> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/exprecs.md" class="module">exprecs</a></td></tr> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans.md" class="module">parse_trans</a></td></tr> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans_codegen.md" class="module">parse_trans_codegen</a></td></tr> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans_mod.md" class="module">parse_trans_mod</a></td></tr> <tr><td><a href="http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans_pp.md" class="module">parse_trans_pp</a></td></tr></table>