Search documentation of Metastatic

# Metastatic.Adapters.Haskell.FromMeta (Metastatic v0.13.2)

View Source

Transform MetaAST (M2) back to Haskell AST (M1).

This module implements the reification function ρ_Haskell that converts meta-level representations back to Haskell-specific AST structures.

## 3-Tuple Format

All MetaAST nodes use the uniform 3-tuple structure: `{type_atom, keyword_meta, children_or_value}`

## Status

Basic M2.1 Core Layer support implemented. M2.2 Extended and M2.3 Native layers to be completed in future iterations.

## Summary

### Functions

transform(unsupported, metadata)

Transform MetaAST back to Haskell AST.

## Functions

# transform(unsupported, metadata)

    @spec transform(term(), map()) :: {:ok, term()} | {:error, String.t()}

Transform MetaAST back to Haskell AST.

Returns `{:ok, haskell_ast}` on success or `{:error, reason}` on failure.