Call dispatcher #26

Merged
HEL merged 12 commits from feat/call-dispatcher into main 2026-07-01 12:22:11 +00:00
Owner

This PR refactors parts of the Midas and Python typers handling function calls, overload matching, argument matchin, etc. into a dedicate CallDispatcher class. This class is generic on the AST expression type so that it can be used for both Midas and Python AST expressions.
Some parts, such as function unwrapping, have been improved too.

Other small features including parsing of binary operations (plus and minus) in Midas definitions, definition of min/max functions in the preamble, and improvements to the evaluation of constraints on literals (e.g. list / dict items, unary operations, error handling)

This PR refactors parts of the Midas and Python typers handling function calls, overload matching, argument matchin, etc. into a dedicate `CallDispatcher` class. This class is generic on the AST expression type so that it can be used for both Midas and Python AST expressions. Some parts, such as function unwrapping, have been improved too. Other small features including parsing of binary operations (plus and minus) in Midas definitions, definition of `min`/`max` functions in the preamble, and improvements to the evaluation of constraints on literals (e.g. list / dict items, unary operations, error handling)
HEL self-assigned this 2026-07-01 12:22:05 +00:00
HEL added 12 commits 2026-07-01 12:22:05 +00:00
HEL merged commit 3260ae4a1e into main 2026-07-01 12:22:11 +00:00
HEL deleted branch feat/call-dispatcher 2026-07-01 12:22:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: HEL/midas#26