AI: add string functions

This commit is contained in:
mcDandy
2026-02-26 12:46:13 +01:00
parent ed030f1542
commit d80c8c1156
3 changed files with 90 additions and 763 deletions
+2 -1
View File
@@ -24,7 +24,8 @@ const FUNCTIONS = new Set([
"random_exponential", "randln", "random_log_normal", "randb", "random_bernoulli", "randp", "random_poisson", "randg",
"random_gamma", "randbeta", "random_beta", "randl", "random_laplace", "randgumbel", "random_gumbel", "randw",
"random_weibull", "randchi2", "random_chi2", "randt", "random_studentt", "perlin", "perlin_noise", "cellular", "voronoi",
"worley", "cellular_noise", "voronoi_noise", "plasma", "turbulence", "plasma_noise"
"worley", "cellular_noise", "voronoi_noise", "plasma", "turbulence", "plasma_noise",
"upper", "lower", "split", "join", "substring", "substr", "find", "trim", "replace"
]);
const BRACKET_PAIRS = {