Support for custom arithmetic operators by Pesekjak · Pull Request #8065 · SkriptLang/Skript

added 2 commits

July 21, 2025 16:05

sovdeeth

@sovdeeth sovdeeth changed the base branch from master to dev/feature

July 21, 2025 17:31

sovdeeth

@Pesekjak

@Pesekjak

APickledWalrus

@Pesekjak

@Pesekjak

sovdeeth

APickledWalrus

expanded compare for operators

@Absolutionism

@skriptlang-automation skriptlang-automation bot added completed

The issue has been fully resolved and the change will be in the next Skript update.

and removed feature-ready

A PR/issue that has been approved, tested and can be merged/closed in the next feature version.

labels

Sep 17, 2025

erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request

Nov 26, 2025
* javadocs and refactoring of the arithmetics api

* added support for the registration of custom operators

* preserve the registration order of operators for the pattern generation

* added test for custom operators

* styling, added back the removed methods from old API of DifferenceInfo and OperationInfo

* added cache for converted operation info and small improvements

* switched back to regular hash map for storing registered operations,
expanded compare for operators

erenkarakal pushed a commit to erenkarakal/Skript that referenced this pull request

Nov 26, 2025
* javadocs and refactoring of the arithmetics api

* added support for the registration of custom operators

* preserve the registration order of operators for the pattern generation

* added test for custom operators

* styling, added back the removed methods from old API of DifferenceInfo and OperationInfo

* added cache for converted operation info and small improvements

* switched back to regular hash map for storing registered operations,
expanded compare for operators