parse_trans

Parse transform utilities for Erlang

Latest version: 3.4.1 registry icon
Maintenance score
14
Safety score
99
Popularity score
74
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High
3.4.1 0 0 0 0
3.4.0 0 0 0 0
3.3.1 0 0 0 0
3.3.0 0 0 0 0
3.2.0 0 0 1 0
3.1.0 0 0 1 0
3.0.0 0 0 1 0
2.9.0 0 0 1 0

Stability
Latest release:

3.4.1 - this version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant



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:

  • parse_trans_pp can be called with escript to pretty-print source from debug-compiled .beam files.
  • parse_trans_codegen provides pseudo-functions that can be used for simple code generation.
  • parse_trans 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