Module parser

Source
Expand description

Main parsing interface for AIMX expressions.

This module provides the primary entry point for parsing AIM Expressions (AIMX) strings into evaluatable abstract syntax trees. It serves as a wrapper around the internal parsing logic with enhanced error handling and validation.

The parser transforms AIMX source code into an Expression AST that can be evaluated within a Context. It handles the complete AIMX grammar including arrays, closures, conditionals, and all operator precedence rules.

Functionsยง

aimx_parse
Parse an AIMX expression string into an Abstract Syntax Tree (AST).