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

Use MathExpressionParser from GTNHLib. #202

Merged
merged 4 commits into from
Mar 24, 2024

Conversation

AbdielKavash
Copy link
Member

@AbdielKavash AbdielKavash commented Mar 23, 2024

When GTNHLib is present, the new MathExpressionParser (see GTNewHorizons/GTNHLib#31) will be used to parse values. As far as I can tell this is a proper superset of features of the built-in AE parser; allowing the player to order large amounts of items by typing expressions line 10k and such.

I hope this can make it to 2.6.0 at the last moment; the parser itself has been feature-complete for a while, it just has not been linked to in AE. I consider this "spiritually" to be a part of the numeric widget reworks in ModularUI earlier, and it would be nice if it worked in some of the most used UIs in the pack too.

@AbdielKavash AbdielKavash requested a review from a team March 23, 2024 22:37
@AbdielKavash
Copy link
Member Author

AbdielKavash commented Mar 24, 2024

Updated accordingly with GTNewHorizons/Applied-Energistics-2-Unofficial#497. Since Calculator in AE2 now does the parsing, it is not needed to special case it here. Except for level maintainer, which does its own thing completely.*

* That UI really needs to be cleaned up, but that's a problem for another day.

@Dream-Master Dream-Master merged commit f175d70 into GTNewHorizons:master Mar 24, 2024
1 check passed
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.

3 participants