Commit Graph

20 Commits

Author SHA1 Message Date
Moritz Hölting 0a8bf37e40 implement global variables (without imports) 2025-04-01 15:19:22 +02:00
Moritz Hölting 469b8d3875 implement first version of compiler variables 2025-04-01 01:00:36 +02:00
Moritz Hölting f808fef3f1 fix compile errors without shulkerbox feature 2025-03-31 22:47:16 +02:00
Moritz Hölting 32d453ebef reimplement semantic checking 2025-03-31 21:40:59 +02:00
Moritz Hölting ca0edfc5bc improve compiler-internal function print 2025-03-28 13:54:25 +01:00
Moritz Hölting 237207a447 implement tag and array variables 2025-03-16 20:46:18 +01:00
Moritz Hölting b119ca33c7 implement todos in scoreboard variable 2025-03-16 19:25:25 +01:00
Moritz Hölting 0885665baf implement score variable declarations 2025-03-15 20:28:26 +01:00
Moritz Hölting 7290806a2b fix compile error when compiling without shulkerbox feature 2025-03-14 13:20:24 +01:00
Moritz Hölting e4c06e56ee allow passing some variables into lua 2025-03-14 12:51:17 +01:00
Moritz Hölting 863bc784cc remove duplicate function, optimize function calls with mixed static and dynamic parameters 2025-03-13 14:35:59 +01:00
Moritz Hölting cebe3e9cb0 implement dynamic (scoreboard, storages) values passed in as macro parameters
- does not compile without the 'shulkerbox' feature enabled
2025-03-12 23:37:32 +01:00
Moritz Hölting 5740172ddb implement more missing functionality marked with todo! 2025-03-12 13:38:27 +01:00
Moritz Hölting f6dadf881a shortcut when using literal booleans 2025-03-11 21:43:44 +01:00
Moritz Hölting 09dd19508d change conditional to use expression instead of individual condition 2025-03-11 19:43:26 +01:00
Moritz Hölting 79a6455d8f implement expressions as conditions 2025-03-11 18:54:29 +01:00
Moritz Hölting 2a41796405 implement scoreboard operations for variables 2025-03-11 13:38:21 +01:00
Moritz Hölting 58998b4246 implement more primary expressions (identifier, parenthesized, prefixed) 2025-03-10 15:57:38 +01:00
Moritz Hölting 14b371b3b6 implement binary expression parsing and transpiling if possible at compile time
- many TODOs
- transpilation for runtime evaluation missing
2025-03-08 13:23:59 +01:00
Moritz Hölting 8ae065f582 implement basic assignment transpilation 2025-03-06 14:40:26 +01:00