Commit Graph

361 Commits

Author SHA1 Message Date
Johannes Frohnmeyer 00d403a3cf
fix(muscript-gson): use correct naming for type adapters 2024-04-13 12:27:57 +02:00
Johannes Frohnmeyer 24aab51a4b
feat(muscript-gson): rename to muscript-json and port to commons-serialize-json
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-12 21:19:36 +02:00
Johannes Frohnmeyer 25259ba3b7
fix(serialize-databind): add (optional) support for hierarchical TypeAdapters 2024-04-12 21:17:17 +02:00
Johannes Frohnmeyer 2512ff4834
fix(serialize): remove broken tests because yes 2024-04-12 21:16:35 +02:00
Johannes Frohnmeyer 7f7eb954f8
feat(serialize): implement data binding 2024-04-12 20:04:15 +02:00
Johannes Frohnmeyer e9dffa3a33
feat(serialize): implement data binding 2024-04-12 19:35:00 +02:00
Johannes Frohnmeyer 1f51e9025d
feat(muscript-runtime): enhance GetOrAt heuristics 2024-04-12 16:57:59 +02:00
Johannes Frohnmeyer df78e10c6a
feat(commons-serialize): port over gson streams as backend for new SerializeReader/SerializeWriter API in commons-serialize 2024-04-12 15:32:54 +02:00
Johannes Frohnmeyer 108a370c51
chore(muscript): delete old implementation keeping redirects in place for docs
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-07 17:25:47 +02:00
Johannes Frohnmeyer 4b44f9516d
fix(muscript-gson): port over to new implementation 2024-04-07 17:25:27 +02:00
Johannes Frohnmeyer beaba5cb02
chore(muscript): copy tests and documentation over to new implementation 2024-04-07 17:18:48 +02:00
Johannes Frohnmeyer ab6c3b5b2d
fix(muscript): handle "this" correctly 2024-04-07 17:18:23 +02:00
Johannes Frohnmeyer c8b5a186ba
fix(muscript): actually export standard lib 2024-04-07 17:18:03 +02:00
Johannes Frohnmeyer 26edf52944
fix(muscript): disable formatting for intentional exceptions 2024-04-07 17:17:53 +02:00
Johannes Frohnmeyer 785e5ca5c5
fix(muscript): correct muscript-serialize module info 2024-04-07 17:16:44 +02:00
Johannes Frohnmeyer f04d5ce407
fix(muscript): restore old convenience methods for decompiling 2024-04-07 17:16:26 +02:00
Johannes Frohnmeyer 3d4c5a06ff
fix(muscript): use flatMap 2024-04-07 16:48:47 +02:00
Johannes Frohnmeyer 4b5811ee09
fix(muscript): use StringFormatter in fallback DynamicSerializer 2024-04-07 16:46:55 +02:00
Johannes Frohnmeyer 9bc01b4d22
fix(muscript): prevent infinite recursion in ExprUtils.unpack 2024-04-07 16:39:28 +02:00
Johannes Frohnmeyer 268fe2aeac
feat(muscript): enhance Get to prefer List/Object-specific variants if type can be easily inferred
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-07 16:21:18 +02:00
Johannes Frohnmeyer 1f8fd9c7cd
feat(muscript): add additional Script constructor 2024-04-07 15:56:52 +02:00
Johannes Frohnmeyer 0d9ca77993
feat(muscript): port over DirectPreconditionVisitor implicitly 2024-04-07 15:55:45 +02:00
Johannes Frohnmeyer 10182e91f0
feat(muscript): implement muscript-runtime
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-07 15:36:33 +02:00
Johannes Frohnmeyer 570264ecbc
feat(muscript): add StandardLib to muscript-data-additional 2024-04-07 15:36:19 +02:00
Johannes Frohnmeyer f1e51f98e3
style(muscript): clean up Optimizer 2024-04-07 15:35:51 +02:00
Johannes Frohnmeyer a171edf20f
fix(muscript): don't reference nonexistant module 2024-04-07 15:35:32 +02:00
Johannes Frohnmeyer 3361ee9df1
fix(muscript): use String.formatted instead of concatenation 2024-04-07 15:35:14 +02:00
Johannes Frohnmeyer 8bddb34c22
fix(muscript): prepare muscript-ast for muscript-runtime 2024-04-07 15:34:44 +02:00
Johannes Frohnmeyer 111cd13de2
fix(muscript): move components used in StandardLib to muscript-core 2024-04-07 15:33:59 +02:00
Johannes Frohnmeyer 712a0406c5
fix(muscript): use addFirst in Bind 2024-04-07 15:17:14 +02:00
Johannes Frohnmeyer b6e9923fcf
fix(muscript): skip unneeded decompile/recompile step and use getLast 2024-04-07 15:17:01 +02:00
Johannes Frohnmeyer 21a7cfcc39
fix(muscript): don't evaluate name twice in object path of Get 2024-04-07 15:16:32 +02:00
Johannes Frohnmeyer cfc6402788
feat(muscript): port over StarScriptIngester
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 18:20:37 +02:00
Johannes Frohnmeyer 95658555cf
feat(muscript): implement extractSideEffects
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 18:15:15 +02:00
Johannes Frohnmeyer 9e6e337843
feat(muscript): prepare for extractSideEffects 2024-04-05 18:13:16 +02:00
Johannes Frohnmeyer 847927f23b
style(muscript): clean up branch
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 17:59:59 +02:00
Johannes Frohnmeyer a16f5fa7df
style(muscript): carry over packedArgs on ExprGroup.optimize 2024-04-05 17:59:55 +02:00
Johannes Frohnmeyer cfbdce5a8b
style(muscript): move case to new line 2024-04-05 17:59:49 +02:00
Johannes Frohnmeyer a6f44ca4c7
fix(muscript): carry over fork on ExprGroup optimization 2024-04-05 17:59:37 +02:00
Johannes Frohnmeyer b15058a8e8
feat(muscript): initial implementation of muscript-optimizer
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 17:58:26 +02:00
Johannes Frohnmeyer f40ed3e4e7
feat(muscript): add ExtensibleExpr.optimize in preparation for muscript-optimizer
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 17:57:28 +02:00
Johannes Frohnmeyer 4205297661
feat(muscript): add factory methods for ExprGroup 2024-04-05 17:56:57 +02:00
Johannes Frohnmeyer 3ec097ce28
fix(muscript): null-check in ExprUtils 2024-04-05 17:56:34 +02:00
Johannes Frohnmeyer 31282ed398
style(muscript): clean up branch 2024-04-05 17:45:12 +02:00
Johannes Frohnmeyer 7a690a8428
style(muscript): carry over packedArgs on ExprGroup.optimize 2024-04-05 17:43:37 +02:00
Johannes Frohnmeyer 1897785b51
style(muscript): move case to new line
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 17:40:46 +02:00
Johannes Frohnmeyer 2267ce6600
fix(muscript): carry over fork on ExprGroup optimization 2024-04-05 17:40:15 +02:00
Johannes Frohnmeyer 893b39fbe1
fix(muscript): properly decompile listOf
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 14:22:46 +02:00
Johannes Frohnmeyer 639ddfb8ea
feat(muscript): implement serialization
ci/woodpecker/push/woodpecker Pipeline was successful Details
2024-04-05 14:21:17 +02:00
Johannes Frohnmeyer 933a642dc3
feat(muscript): additional data 2024-04-05 14:21:04 +02:00