# parse_trans **Repository Path**: zxtree2006/parse_trans ## Basic Information - **Project Name**: parse_trans - **Description**: https://github.com/uwiger/parse_trans - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-09 - **Last Updated**: 2021-03-09 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # The parse_trans application # __Authors:__ Ulf Wiger ([`ulf@wiger.net`](mailto:ulf@wiger.net)). Parse_transform utilities [![Build Status](https://travis-ci.org/uwiger/parse_trans.svg) [![Hex pm](http://img.shields.io/hexpm/v/parse_trans.svg?style=flat)](https://hex.pm/packages/parse_trans) ## 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`](http://github.com/uwiger/parse_trans/blob/master/doc/exprecs.md) generates standardized accessor functions for records, and [`ct_expand`](http://github.com/uwiger/parse_trans/blob/master/doc/ct_expand.md) makes it possible to evaluate an expression at compile-time and substitute the result as a compile-time constant. Less known modules, perhaps: * [`parse_trans_pp`](http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans_pp.md) can be called with escript to pretty-print source from debug-compiled .beam files. * [`parse_trans_codegen`](http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans_codegen.md) provides pseudo-functions that can be used for simple code generation. * [`parse_trans`](http://github.com/uwiger/parse_trans/blob/master/doc/parse_trans.md) provides various helper functions for traversing code and managing complex parse transforms ## Modules ##
ct_expand
exprecs
parse_trans
parse_trans_codegen
parse_trans_mod
parse_trans_pp