Skip to content
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

Increased use of binary operator string values from JSON #1256

Merged
merged 6 commits into from
Dec 30, 2024

Conversation

rocky
Copy link
Member

@rocky rocky commented Dec 30, 2024

Pick up binary operator string from enhanced Mathics-Scanner JSON operator tables.

For now, we have to limit to binary operators only.

@rocky rocky force-pushed the increased-use-operator-strings-from-JSON branch from 1007725 to d50a306 Compare December 30, 2024 12:11
@rocky rocky changed the title Increased use operator strings from json Increased use operator strings from JSON Dec 30, 2024
@rocky rocky requested a review from mmatera December 30, 2024 12:22
@rocky rocky marked this pull request as draft December 30, 2024 12:22
@rocky
Copy link
Member Author

rocky commented Dec 30, 2024

This should stay in draft mode until Mathics3/mathics-scanner#111 is merged. Then, I'll revert the CI testing from the operator-refactor-part1.5 branch and we can merge this.

Getting operator information in better shape is a prerequisite for the next release.

@rocky rocky changed the title Increased use operator strings from JSON Increased use of operator string values from JSON Dec 30, 2024
@rocky rocky changed the title Increased use of operator string values from JSON Increased use of binary operator string values from JSON Dec 30, 2024
@rocky
Copy link
Member Author

rocky commented Dec 30, 2024

Note: after this PR we may have a few more binary operators; also postfix and prefix operators should be done as well. However just this part is major disruption in of itself, to warrant stopping here and doing the others other PRs.

Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rocky
Copy link
Member Author

rocky commented Dec 30, 2024

Mathics-scanner code is merged, so we'll now try with master. If this works, I will merge. And maybe we can continue with prefix/postifx operators.

Also add one more type annotation
@rocky rocky force-pushed the increased-use-operator-strings-from-JSON branch from 4787770 to a9b0d00 Compare December 30, 2024 16:21
@rocky rocky marked this pull request as ready for review December 30, 2024 16:38
@rocky rocky merged commit 1ed7495 into master Dec 30, 2024
14 checks passed
@rocky rocky deleted the increased-use-operator-strings-from-JSON branch December 30, 2024 16:39
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.

2 participants