Commit Graph

24 Commits

Author SHA1 Message Date
Moritz Hölting bd8270bd5d fix semantic analysis to allow assignment to indexed identifier 2025-08-13 18:55:47 +02:00
Moritz Hölting e0c3253ab6 fix comptime variable errors 2025-08-13 18:24:48 +02:00
Moritz Hölting 0ee456756a apply clippy lints from version 0.1.89 2025-08-13 15:26:36 +02:00
Moritz Hölting 927b0f52c1 implement first parts of member access 2025-06-18 11:44:26 +02:00
Moritz Hölting dd97937feb run as expression, implement return statement 2025-04-07 18:01:35 +02:00
Moritz Hölting 68149d9ddf implement uninstall annotation 2025-04-07 14:05:54 +02:00
Moritz Hölting 1e82d2321f allow importing global variables, get rid of functions and aliases field of transpiler 2025-04-07 01:09:34 +02:00
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 f3b3d5d3b6 implement integer and boolean function arguments 2025-03-30 19:38:08 +02:00
Moritz Hölting 0fd9dc432e first version of print internal function for easier displaying variable values 2025-03-16 23:26:20 +01:00
Moritz Hölting 0885665baf implement score variable declarations 2025-03-15 20:28:26 +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 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 e772c4b2c2 implement variable assignments 2025-03-07 17:36:25 +01:00
Moritz Hölting 8ae065f582 implement basic assignment transpilation 2025-03-06 14:40:26 +01:00
Moritz Hölting 68da1f4e12 rework annotations & transpile single int declarations without assignment 2025-02-27 22:03:45 +01:00
Moritz Hölting 38f90e6491 fix variable declaration parsing 2025-02-25 20:45:27 +01:00
Moritz Hölting 0d0df920ee implement variable declaration parsing 2025-02-25 20:45:27 +01:00
Moritz Hölting 7e96a43e5f show multiple errors and mark tick/load annotation incompatible with parameters 2024-11-11 23:19:36 +01:00
Moritz Hölting eb595bc28b require macros to be present in function parameters 2024-11-11 22:54:24 +01:00