Skip to content

Research#51

Draft
robertvansteen wants to merge 3 commits into0.xfrom
research
Draft

Research#51
robertvansteen wants to merge 3 commits into0.xfrom
research

Conversation

@robertvansteen
Copy link
Copy Markdown
Contributor

Description

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Code refactoring
  • Performance improvement
  • Test updates

Related Issues

Fixes #

Changes Made

Testing

  • All existing tests pass (composer test)
  • Added new tests for the changes
  • Static analysis passes (composer test:types)
  • Code coverage remains at 100%
  • Mutation testing passes (composer test:infection)

Code Quality Checklist

  • My code follows the project's coding standards
  • I have run vendor/bin/pint to format my code
  • I have added/updated PHPDoc comments where necessary
  • I have updated the documentation (if applicable)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

Documentation

  • I have updated the README.md (if applicable)
  • I have updated the CHANGELOG.md
  • I have added/updated code examples (if applicable)

Breaking Changes

N/A

Additional Notes

Screenshots (if applicable)


By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

robertvansteen and others added 2 commits April 13, 2026 18:52
Browser-based playground (Vite + Monaco) with from-scratch lexer, parser,
type checker, and evaluator implementing the core Axiom DSL. Includes 6
example products (insurance, healthcare, tradespeople, hospitality, landlords,
money type demo) with live evaluation, syntax highlighting, and diagnostics.

Plugin system with lexer/checker/evaluator hooks, validated with axiom-money
plugin providing £/€/$/¥ literals, type-safe currency arithmetic, and
intrinsic overrides (round, max, min, sum for money types).

Spec updates resolve all open questions: external data via tables (14.1),
money as extension type (14.2), arbitrary-precision decimals (14.3), lazy
evaluation with memoization (14.4), statically total error model with refined
number types (14.5), plugin hook system (14.6), collection predicate narrowing
(14.7), and recursion detection (14.10).

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant