Commit Graph

111 Commits

Author SHA1 Message Date
108a370c51
chore(muscript): delete old implementation keeping redirects in place for docs
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-04-07 17:25:47 +02:00
beaba5cb02
chore(muscript): copy tests and documentation over to new implementation 2024-04-07 17:18:48 +02:00
712a0406c5
fix(muscript): use addFirst in Bind 2024-04-07 15:17:14 +02:00
b6e9923fcf
fix(muscript): skip unneeded decompile/recompile step and use getLast 2024-04-07 15:17:01 +02:00
21a7cfcc39
fix(muscript): don't evaluate name twice in object path of Get 2024-04-07 15:16:32 +02:00
cfc6402788
feat(muscript): port over StarScriptIngester
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-04-05 18:20:37 +02:00
31282ed398
style(muscript): clean up branch 2024-04-05 17:45:12 +02:00
7a690a8428
style(muscript): carry over packedArgs on ExprGroup.optimize 2024-04-05 17:43:37 +02:00
1897785b51
style(muscript): move case to new line
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-04-05 17:40:46 +02:00
2267ce6600
fix(muscript): carry over fork on ExprGroup optimization 2024-04-05 17:40:15 +02:00
62c13cc9ac
fix(muscript): properly decompile listOf 2024-04-05 14:18:48 +02:00
003c317b11
chore: make use of sequenced collections 2024-04-03 18:28:37 +02:00
af6252522d
BREAKING(logger): use System.Logger instead of SLF4J
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-03-14 13:57:12 +01:00
f38ebc3a62
fix(muscript): use slf4j
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2024-03-09 12:47:58 +01:00
a67d1dbbd6
feat: replace commons-logging with slf4j-based commons-logger and use type-safe dependency DSLs
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
The only reason it needed to be separate was logging during ultra early init in Minecraft. I can figure out something else for that.
2024-03-09 12:37:38 +01:00
75d41184c9
fix(muscript): remove unsafe cast to string for any assign casted to string
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-11-14 20:01:10 +01:00
b926bf4495
feat(muscript): Abstract lexer away from parser through interface to allow different data sources
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-11-14 18:55:17 +01:00
749b475d0d
feat(muscript): Weak type signature system for Dynamic, might get extended to muScript expressions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-30 17:34:49 +02:00
0c2db6fe08
fix(muscript): evaluate bind parameters early
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-26 08:56:53 +02:00
86e34a1f16
chore: add return type to IOLib.addTo
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-22 19:07:05 +02:00
26bd73d87e
fix(muscript): clean up ExprGroup side effect handling for extractSideEffects and decompile
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-09-22 18:20:52 +02:00
8aebf179d4
BREAKING: modularize
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-09-21 21:08:40 +02:00
8d741c5e49
feat(muscript): IOLib from respackopts 2023-09-21 19:28:17 +02:00
df1572edbd
build: move core commons to submodule to clean up build 2023-09-21 19:08:14 +02:00
79d862da6c
perf: extract side effects of top-level expressions
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-09-21 14:10:41 +02:00
0ae082e7d0
feat(muscript): V3: enforce new line or semicolon between expressions
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-09-15 19:32:01 +02:00
6ffd67f23f
feat(muscript): Language versions 2023-09-15 19:21:14 +02:00
e84f8adc88
docs: Document StandardLib and GsonLib functions for μScript users
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-25 18:53:04 +02:00
e927d1f82c
feat: introduce muscript-gson to support json parsing/writing from muScript and of muScript data from java
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-25 16:24:28 +02:00
2ae6900447
feat(muscript): use dynamic lenses to support subsequent representation changes using original algorithms 2023-08-15 13:29:18 +02:00
fd7efac605
feat(muscript): remove type argument in favor of more specific subtypes
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-14 16:55:49 +02:00
04dd1e4af0
feat(muscript): implement DelegateDynamic
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-14 16:17:22 +02:00
b41019c89d
feat(muscript): is* methods for dynamic to replace fragile instanceof checks for multi-representational values
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-14 16:12:08 +02:00
935d6f9cf6
feat(muscript): support custom dynamic implementations via DynamicBase
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-14 15:53:18 +02:00
b91e15e352
fix(muscript): it builds again
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-14 15:24:44 +02:00
b2887a3ed6
fix(muscript): Allow subclasses in dynamic definition
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-14 15:15:54 +02:00
486f241eca
Do null safety for objects properly
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-06-29 16:33:15 +02:00
7fbec30c92
Scope.getOverrides
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-29 15:57:37 +02:00
9fdcd3dfd1
Make DObject.get null-safe
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
2023-06-29 15:40:45 +02:00
7b6c0fb93f
More nullability for errors
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-29 15:35:15 +02:00
8665f69228
Null check in unpack
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-29 15:14:01 +02:00
487f063cb0
Null check in DTCE
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-27 16:24:40 +02:00
d417d1e581
Additional null checks in Get and Call
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-06-27 16:22:00 +02:00
d020f56414
bump deps
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-09 14:31:18 +02:00
56cd5a4aab
muscript: add exception handling
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-06-09 14:12:21 +02:00
9fbba868da
clean up exception pretty printing 2023-04-18 14:54:39 +02:00
7f8da417a3
test parseMultiScript 2023-04-18 14:34:04 +02:00
7ef8dee78c
Don't duplicate decompile logic to Dynamic, provide toExpr() 2023-04-18 14:07:28 +02:00
e652bfe6ba
track code location 2023-04-18 13:40:34 +02:00
51cc7e41ab
reconstruct call stack on exception 2023-04-18 10:36:49 +02:00