6 lines
519 B
Markdown
Raw Permalink Normal View History

2026-08-16 22:04:11 +03:00
# `lawsynth-expr`
`Expr` is the executable equation AST. It has finite constants, identifiers, unary `-`, `exp`, `log`, `sin`, `cos`, and binary `+`, `-`, `*`, `/`, and power. Parser, printer, evaluator, literals, symbols, and operator definitions share this constrained representation.
Evaluation requires an explicit numeric environment. Arbitrary function calls, assignments, strings, boolean logic, side effects, and code execution are intentionally absent from the language and cannot enter a bundle expression.