Moritz Hölting
|
8c29d83665
|
allow importing global variables, get rid of functions and aliases field of transpiler
|
2025-04-07 01:09:34 +02:00 |
Moritz Hölting
|
c3aaca6abf
|
implement global variables (without imports)
|
2025-04-01 15:19:22 +02:00 |
Moritz Hölting
|
ab1ca8ee37
|
implement first version of compiler variables
|
2025-04-01 01:00:36 +02:00 |
Moritz Hölting
|
992b6ca300
|
implement integer and boolean function arguments
|
2025-03-30 19:38:08 +02:00 |
Moritz Hölting
|
7650224aac
|
improve compiler-internal function print
|
2025-03-28 13:54:25 +01:00 |
Moritz Hölting
|
07cacde886
|
first version of print internal function for easier displaying variable values
|
2025-03-16 23:26:20 +01:00 |
Moritz Hölting
|
d10ae975f5
|
implement tag and array variables
|
2025-03-16 20:46:18 +01:00 |
Moritz Hölting
|
72a2121b61
|
implement score variable declarations
|
2025-03-15 20:28:26 +01:00 |
Moritz Hölting
|
2e6ca8a54e
|
fix recursive function calls leading to stack overflow
|
2025-03-15 00:20:40 +01:00 |
Moritz Hölting
|
5c2f73e994
|
fix compile error when compiling without shulkerbox feature
|
2025-03-14 13:20:24 +01:00 |
Moritz Hölting
|
d123d2c0ed
|
allow passing some variables into lua
|
2025-03-14 12:51:17 +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
|
31e45a57cb
|
shortcut when using literal booleans
|
2025-03-11 21:43:44 +01:00 |
Moritz Hölting
|
e1f1c35513
|
remove possibility of using same transpiler twice
|
2025-03-11 21:00:50 +01:00 |
Moritz Hölting
|
43f0af6435
|
change conditional to use expression instead of individual condition
|
2025-03-11 19:43:26 +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
|
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 |
Moritz Hölting
|
4f31f08875
|
fix variable declaration parsing
|
2025-02-25 20:45:27 +01:00 |
Moritz Hölting
|
9d5c40f150
|
implement variable declaration parsing
|
2025-02-25 20:45:27 +01:00 |
Moritz Hölting
|
f3f69faace
|
Merge branch 'feature/macro-functions' into develop
|
2025-02-17 13:58:58 +01:00 |
Moritz Hölting
|
a99a155d76
|
fix compilation errors depending on feature selection and update dependency version
|
2025-01-17 12:27:25 +01:00 |
Moritz Hölting
|
3a423e1de5
|
remove unnecessary RwLocks in Transpiler
|
2024-11-15 10:42:52 +01:00 |
Moritz Hölting
|
95153f2912
|
unescape macro string contents
|
2024-11-15 10:33:55 +01:00 |
Moritz Hölting
|
c0b266caca
|
allow passing in parameters to functions that will be used as macros
|
2024-11-12 14:40:40 +01:00 |
Moritz Hölting
|
c880b58f64
|
require macros to be present in function parameters
|
2024-11-11 22:54:24 +01:00 |
Moritz Hölting
|
550459922d
|
implement first version of macros
|
2024-11-10 16:04:10 +01:00 |
Moritz Hölting
|
f7414ad23f
|
use full hash length as name, improve docs
|
2024-09-27 16:26:24 +02:00 |
Moritz Hölting
|
1f4cad5634
|
implement tag declaration
|
2024-09-21 22:45:05 +02:00 |
Moritz Hölting
|
536c8479aa
|
implement error on conflicting function names and deterministic function generation order
|
2024-09-20 16:50:40 +02:00 |
Moritz Hölting
|
01a2d66503
|
improve lua integration by allowing more flexible return types and introducing globals
|
2024-09-20 14:55:48 +02:00 |
Moritz Hölting
|
a2de2d7338
|
add source code display to UnexpectedExpression, LuaRuntimeError errors
|
2024-09-03 22:21:03 +02:00 |
Moritz Hölting
|
4efcb55d7c
|
suggest similarly named functions if invoked function does not exist
|
2024-08-29 00:57:11 +02:00 |
Moritz Hölting
|
659683bd39
|
add SourceCodeDisplay to MissingFunctionDeclaration error
|
2024-08-27 22:55:26 +02:00 |
Moritz Hölting
|
83d5f329f9
|
allow custom handlers instead of only printer
|
2024-08-23 00:06:58 +02:00 |
Moritz Hölting
|
dd79541ae9
|
add tracing crate for logging
|
2024-06-15 21:49:05 +02:00 |
Moritz Hölting
|
899a973315
|
implement from-import statement
|
2024-06-12 18:09:32 +02:00 |
Moritz Hölting
|
deddf1d77e
|
fix problem with missing function generations when functions have same name in different files
|
2024-06-10 20:32:10 +02:00 |
Moritz Hölting
|
de285639a2
|
implement transpile function for multiple script paths
|
2024-06-09 21:22:48 +02:00 |
Moritz Hölting
|
2bac397096
|
implement remaining execute operators
|
2024-04-09 21:25:19 +02:00 |