parse_trans

Parse transform utilities for Erlang

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

Stability
Latest release:

3.4.2 - This version may not be safe as it has not been updated for a long 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