Skip to content

Dev#186

Merged
desht merged 13 commits into
mainfrom
dev
Apr 23, 2026
Merged

Dev#186
desht merged 13 commits into
mainfrom
dev

Conversation

@desht
Copy link
Copy Markdown
Contributor

@desht desht commented Apr 23, 2026

26.1.2.2 beta

MichaelHillcox and others added 13 commits April 20, 2026 21:30
NeoForge has an extended IBlockExtension#getMapColor we can use
Fabric can use the vanilla Block#getMapColor
* feat: vague outline

* feat: most of the engine, some basic provider stuff and the core lexer

* feat: unit tests

* fix: introduce f/d suffix for proper double vs float eval

* feat: properly support int/long/float/double/bigint

* Update common/src/main/java/dev/ftb/mods/ftblibrary/expression/Lexer.java

* Update common/src/main/java/dev/ftb/mods/ftblibrary/expression/ProviderInvoker.java

* Update common/src/test/java/dev/ftb/mods/ftblibrary/expression/ExpressionEngineTest.java

* Update common/src/main/java/dev/ftb/mods/ftblibrary/expression/ExpressionParser.java

* Update common/src/main/java/dev/ftb/mods/ftblibrary/expression/ProviderInvoker.java

* feat: method override handling and minor cleanup

* feat: LRU from filter system

* fix: use read lock not write lock

* feat: LRU cache for expression parsing

chore: removed the is and is not and not keywords as they were the same and == / !=
fix: failing unit tests

* fix: remove not, and, or from the syntax as the aliases aren't needed

* feat: support for XOR... Whoops, forget that exists

* feat: expanded default contexts

* feat: unit tests, the majority of the math impl but not the actual adding

feat: more context features

* feat: MATH! All unit tests pass at least

* feat: improved the Arithmetic code

* feat: finished up contexts + support for raw evals

* fix: pr reviews
tryWrite (element variant) is now save
tryRead is now load

kept old methods around for now (deprecated)
tryWrite (element variant) is now save
tryRead is now load

kept old methods around for now (deprecated)
# Conflicts:
#	common/src/main/java/dev/ftb/mods/ftblibrary/json5/Json5Util.java
@desht desht merged commit 316133b into main Apr 23, 2026
2 checks 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.

2 participants