Commit Graph

18 Commits

Author SHA1 Message Date
Moritz Hölting 22e42809b9 implement todos in scoreboard variable 2025-03-16 19:25:25 +01:00
Moritz Hölting 72a2121b61 implement score variable declarations 2025-03-15 20:28:26 +01:00
Moritz Hölting 20edfdb0ea allow marking return value from lua as containing macro 2025-03-15 00:22:33 +01:00
Moritz Hölting 2e141de6b3 remove duplicate function, optimize function calls with mixed static and dynamic parameters 2025-03-13 14:35:59 +01:00
Moritz Hölting bae7e9e0ea 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 bde7fc3b5e implement more missing functionality marked with todo! 2025-03-12 13:38:27 +01:00
Moritz Hölting 97587f79b4 implement expressions as conditions 2025-03-11 18:54:29 +01:00
Moritz Hölting 769402591f implement scoreboard operations for variables 2025-03-11 13:38:21 +01:00
Moritz Hölting 2621713733 implement more primary expressions (identifier, parenthesized, prefixed) 2025-03-10 15:57:38 +01:00
Moritz Hölting 096e637a77 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 8dfd1e053b implement variable assignments 2025-03-07 17:36:25 +01:00
Moritz Hölting b1301b3e8c fix generating same data location for shadowed variables 2025-03-07 17:35:31 +01:00
Moritz Hölting 8f241d6fcf implement boolean storage variable 2025-03-07 16:47:48 +01:00
Moritz Hölting c3c476ad94 implement basic assignment transpilation 2025-03-06 14:40:26 +01:00
Moritz Hölting b2075f0504 improve debug formatting for Scope and FunctionData 2025-03-05 14:43:10 +01:00
Moritz Hölting 23b14d7667 rework annotations & transpile single int declarations without assignment 2025-02-27 22:03:45 +01:00
Moritz Hölting 9e652e7c85 change function transpilation to use scope instead of separate map 2025-02-26 13:05:59 +01:00
Moritz Hölting 9899b9add1 prepare transpiling variables 2025-02-25 22:52:39 +01:00