Moritz Hölting
|
93baeb6ed0
|
implement comptime while loops
|
2025-10-08 15:04:57 +02:00 |
Moritz Hölting
|
1b2413fb5c
|
transpile comptime value to data location
|
2025-09-17 15:39:57 +02:00 |
Moritz Hölting
|
d7d165ffdc
|
check that assignments to comptime variables are only done in comptime conditionals
|
2025-09-16 23:31:13 +02:00 |
Moritz Hölting
|
22d7ec9707
|
implement basic while loop
|
2025-09-11 16:08:56 +02:00 |
Moritz Hölting
|
e99b32f624
|
list alternative identifiers using oxford_join
|
2025-09-07 12:58:35 +02:00 |
Moritz Hölting
|
0918f33721
|
add handling for template strings everywhere
|
2025-09-02 22:47:37 +02:00 |
Moritz Hölting
|
47dc9f0f6b
|
basic transpilation of template string working
|
2025-09-02 18:05:21 +02:00 |
Moritz Hölting
|
9cc77ce2a9
|
use strsim to suggest similar identifiers in UnknownIdentifier error
|
2025-08-27 17:05:21 +02:00 |
Moritz Hölting
|
1ed2919ab0
|
fix compile error without "shulkerbox" feature
|
2025-08-27 11:45:30 +02:00 |
Moritz Hölting
|
41700fd783
|
fix parse error panicing in function args
|
2025-08-27 10:08:41 +02:00 |
Moritz Hölting
|
8980a0b21d
|
allow escaping of $ in macro string
|
2025-08-26 21:15:41 +02:00 |
Moritz Hölting
|
72ed16893d
|
implement new tokenizer & parser for TemplateStringLiteral
|
2025-08-25 19:12:20 +02:00 |
Moritz Hölting
|
598158d0d4
|
rename MacroString to TemplateString
|
2025-08-25 15:51:21 +02:00 |
Moritz Hölting
|
528b4edac6
|
implement compile-time function arguments
|
2025-08-19 15:14:12 +02:00 |
Moritz Hölting
|
8564f4b0bf
|
fix semantic analysis to allow assignment to indexed identifier
|
2025-08-13 18:55:47 +02:00 |
Moritz Hölting
|
bd20af0f3d
|
fix comptime variable errors
|
2025-08-13 18:24:48 +02:00 |
Moritz Hölting
|
8e5f453988
|
only use function arg storage if required
|
2025-08-13 18:05:15 +02:00 |
Moritz Hölting
|
0f553a0234
|
apply clippy lints from version 0.1.89
|
2025-08-13 15:26:36 +02:00 |
Moritz Hölting
|
50c836d4f0
|
change syntax of array declaration: move brackets from after name to after type
|
2025-08-13 12:58:35 +02:00 |
Moritz Hölting
|
1b181057e5
|
add script for extracting EBNF grammar from doccomments
|
2025-08-13 09:51:46 +02:00 |
Moritz Hölting
|
008468621e
|
implement rest of member access transpilation
|
2025-08-06 15:28:03 +02:00 |
Moritz Hölting
|
b81f47bde3
|
implement first parts of member access
|
2025-06-18 11:44:26 +02:00 |
Moritz Hölting
|
fe2934f120
|
run as expression, implement return statement
|
2025-04-07 18:01:35 +02:00 |
Moritz Hölting
|
8fe8813a51
|
implement uninstall annotation
|
2025-04-07 14:05:54 +02:00 |
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
|
232409a55c
|
change the syntax to set the type of tags
|
2025-03-31 23:01:27 +02:00 |
Moritz Hölting
|
b4f7fe1cb6
|
fix compile errors without shulkerbox feature
|
2025-03-31 22:47:16 +02:00 |
Moritz Hölting
|
84d55977e7
|
reimplement semantic checking
|
2025-03-31 21:40:59 +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
|
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
|
941bb6f868
|
introduce shulkerscript module in lua
|
2025-03-15 17:53:20 +01:00 |
Moritz Hölting
|
6224b00d17
|
path other variable types to lua (except functions)
|
2025-03-15 15:55:57 +01:00 |
Moritz Hölting
|
8313c3abef
|
fix error in macro string parsing from string
|
2025-03-15 09:31:08 +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
|
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 |