Skip to content

Draft: AST visitor pattern #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open

Draft: AST visitor pattern #91

wants to merge 19 commits into from

Conversation

fkleon
Copy link
Owner

@fkleon fkleon commented Feb 13, 2025

Context

Implements the visitor pattern for the Expression AST.

Features and fixes

  • fix: new Parser, missing lex #90
  • feat: Add support for listing variables in an Expression tree. Possible to extract variables from Expression? #73
  • feat: Add new real number evaluator.
  • feat: Add new interval number evaluator.
  • feat: Add new vector evaluator.
  • feat: Require degree of Root function to be Expression (breaking).
  • feat: Stronger typing for algorithmic function handlers.
  • feat: cleanup evaluator tests; and improve test coverage for interval and vector evaluation types.

@fkleon fkleon self-assigned this Feb 13, 2025
@fkleon fkleon force-pushed the feature-ast-visitor branch from 64847fb to b57272e Compare February 13, 2025 10:51
@fkleon fkleon force-pushed the feature-ast-visitor branch from b57272e to 868a98c Compare February 14, 2025 10:23
@fkleon fkleon force-pushed the feature-ast-visitor branch from 868a98c to 3d94410 Compare March 25, 2025 10:32
@fkleon fkleon force-pushed the feature-ast-visitor branch from 3d94410 to 5335a24 Compare April 7, 2025 12:05
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.

new Parser, missing lex
1 participant