-
edea6d9db1
allow function calls in template strings, update changelog
feature/variables
Moritz Hölting
2025-10-14 13:41:53 +0200
-
93baeb6ed0
implement comptime while loops
Moritz Hölting
2025-10-08 15:04:57 +0200
-
1b2413fb5c
transpile comptime value to data location
Moritz Hölting
2025-09-17 15:39:57 +0200
-
d7d165ffdc
check that assignments to comptime variables are only done in comptime conditionals
Moritz Hölting
2025-09-16 23:31:13 +0200
-
22d7ec9707
implement basic while loop
Moritz Hölting
2025-09-11 16:08:56 +0200
-
e99b32f624
list alternative identifiers using oxford_join
Moritz Hölting
2025-09-07 12:58:35 +0200
-
0918f33721
add handling for template strings everywhere
Moritz Hölting
2025-09-02 22:47:37 +0200
-
47dc9f0f6b
basic transpilation of template string working
Moritz Hölting
2025-09-02 18:05:21 +0200
-
9cc77ce2a9
use strsim to suggest similar identifiers in UnknownIdentifier error
Moritz Hölting
2025-08-27 17:05:21 +0200
-
1ed2919ab0
fix compile error without "shulkerbox" feature
Moritz Hölting
2025-08-27 11:45:30 +0200
-
41700fd783
fix parse error panicing in function args
Moritz Hölting
2025-08-27 10:08:41 +0200
-
8980a0b21d
allow escaping of $ in macro string
Moritz Hölting
2025-08-26 21:15:41 +0200
-
72ed16893d
implement new tokenizer & parser for TemplateStringLiteral
Moritz Hölting
2025-08-25 19:12:20 +0200
-
598158d0d4
rename MacroString to TemplateString
Moritz Hölting
2025-08-25 15:51:21 +0200
-
528b4edac6
implement compile-time function arguments
Moritz Hölting
2025-08-19 15:14:12 +0200
-
8564f4b0bf
fix semantic analysis to allow assignment to indexed identifier
Moritz Hölting
2025-08-13 18:55:47 +0200
-
bd20af0f3d
fix comptime variable errors
Moritz Hölting
2025-08-13 18:24:48 +0200
-
8e5f453988
only use function arg storage if required
Moritz Hölting
2025-08-13 18:05:15 +0200
-
0f553a0234
apply clippy lints from version 0.1.89
Moritz Hölting
2025-08-13 15:26:36 +0200
-
50c836d4f0
change syntax of array declaration: move brackets from after name to after type
Moritz Hölting
2025-08-13 12:58:35 +0200
-
1b181057e5
add script for extracting EBNF grammar from doccomments
Moritz Hölting
2025-08-13 09:37:18 +0200
-
008468621e
implement rest of member access transpilation
Moritz Hölting
2025-08-06 15:28:03 +0200
-
b81f47bde3
implement first parts of member access
Moritz Hölting
2025-06-18 11:44:26 +0200
-
fe2934f120
run as expression, implement return statement
Moritz Hölting
2025-04-07 18:01:35 +0200
-
8fe8813a51
implement uninstall annotation
Moritz Hölting
2025-04-07 14:05:54 +0200
-
8c29d83665
allow importing global variables, get rid of functions and aliases field of transpiler
Moritz Hölting
2025-04-07 01:09:34 +0200
-
c3aaca6abf
implement global variables (without imports)
Moritz Hölting
2025-04-01 15:19:22 +0200
-
ab1ca8ee37
implement first version of compiler variables
Moritz Hölting
2025-04-01 01:00:36 +0200
-
232409a55c
change the syntax to set the type of tags
Moritz Hölting
2025-03-31 22:59:29 +0200
-
b4f7fe1cb6
fix compile errors without shulkerbox feature
Moritz Hölting
2025-03-31 22:47:16 +0200
-
84d55977e7
reimplement semantic checking
Moritz Hölting
2025-03-31 21:40:59 +0200
-
992b6ca300
implement integer and boolean function arguments
Moritz Hölting
2025-03-30 19:38:08 +0200
-
7650224aac
improve compiler-internal function print
Moritz Hölting
2025-03-28 13:54:25 +0100
-
07cacde886
first version of print internal function for easier displaying variable values
Moritz Hölting
2025-03-16 23:26:20 +0100
-
d10ae975f5
implement tag and array variables
Moritz Hölting
2025-03-16 20:46:18 +0100
-
22e42809b9
implement todos in scoreboard variable
Moritz Hölting
2025-03-16 19:25:25 +0100
-
72a2121b61
implement score variable declarations
Moritz Hölting
2025-03-15 20:28:26 +0100
-
941bb6f868
introduce shulkerscript module in lua
Moritz Hölting
2025-03-15 17:53:20 +0100
-
6224b00d17
path other variable types to lua (except functions)
Moritz Hölting
2025-03-15 15:55:57 +0100
-
8313c3abef
fix error in macro string parsing from string
Moritz Hölting
2025-03-15 09:31:08 +0100
-
20edfdb0ea
allow marking return value from lua as containing macro
Moritz Hölting
2025-03-15 00:22:33 +0100
-
2e6ca8a54e
fix recursive function calls leading to stack overflow
Moritz Hölting
2025-03-15 00:20:40 +0100
-
5c2f73e994
fix compile error when compiling without shulkerbox feature
Moritz Hölting
2025-03-14 13:20:24 +0100
-
d123d2c0ed
allow passing some variables into lua
Moritz Hölting
2025-03-14 12:51:17 +0100
-
2e141de6b3
remove duplicate function, optimize function calls with mixed static and dynamic parameters
Moritz Hölting
2025-03-13 14:35:59 +0100
-
bae7e9e0ea
implement dynamic (scoreboard, storages) values passed in as macro parameters
Moritz Hölting
2025-03-12 23:37:23 +0100
-
bde7fc3b5e
implement more missing functionality marked with todo!
Moritz Hölting
2025-03-12 13:38:27 +0100
-
31e45a57cb
shortcut when using literal booleans
Moritz Hölting
2025-03-11 21:27:57 +0100
-
e1f1c35513
remove possibility of using same transpiler twice
Moritz Hölting
2025-03-11 21:00:50 +0100
-
43f0af6435
change conditional to use expression instead of individual condition
Moritz Hölting
2025-03-11 19:43:26 +0100
-
97587f79b4
implement expressions as conditions
Moritz Hölting
2025-03-11 18:54:29 +0100
-
769402591f
implement scoreboard operations for variables
Moritz Hölting
2025-03-11 13:38:21 +0100
-
2621713733
implement more primary expressions (identifier, parenthesized, prefixed)
Moritz Hölting
2025-03-10 15:57:38 +0100
-
096e637a77
implement binary expression parsing and transpiling if possible at compile time
Moritz Hölting
2025-03-08 13:23:59 +0100
-
8dfd1e053b
implement variable assignments
Moritz Hölting
2025-03-07 17:36:25 +0100
-
b1301b3e8c
fix generating same data location for shadowed variables
Moritz Hölting
2025-03-07 17:05:58 +0100
-
8f241d6fcf
implement boolean storage variable
Moritz Hölting
2025-03-07 16:47:48 +0100
-
c3c476ad94
implement basic assignment transpilation
Moritz Hölting
2025-03-06 14:40:26 +0100
-
e177760f2c
update shulkerbox dependency
develop
Moritz Hölting
2025-03-05 17:00:53 +0100
-
b2075f0504
improve debug formatting for Scope and FunctionData
Moritz Hölting
2025-03-05 14:43:10 +0100
-
23b14d7667
rework annotations & transpile single int declarations without assignment
Moritz Hölting
2025-02-27 22:03:45 +0100
-
9e652e7c85
change function transpilation to use scope instead of separate map
Moritz Hölting
2025-02-26 13:05:59 +0100
-
9899b9add1
prepare transpiling variables
Moritz Hölting
2025-02-25 22:52:39 +0100
-
4f31f08875
fix variable declaration parsing
Moritz Hölting
2025-02-25 20:40:54 +0100
-
9d5c40f150
implement variable declaration parsing
Moritz Hölting
2025-02-24 23:02:07 +0100
-
-
fe293b2dc4
make serialization of source file thread local
Moritz Hölting
2025-02-19 09:32:00 +0100
-
0bf9625620
Change development branch name in github action workflow
Moritz Hölting
2025-02-18 10:18:16 +0100
-
52ee83e0da
add example compiler to demonstrate basic functionality and usage
Moritz Hölting
2025-02-17 23:05:51 +0100
-
f3f69faace
Merge branch 'feature/macro-functions' into develop
Moritz Hölting
2025-02-17 13:58:58 +0100
-
-
c30bcc3018
remove dependency on feature "rc" of serde
Moritz Hölting
2025-02-15 15:23:25 +0100
-
4a5f34a07b
change back to derive (de-)serialize for Span
Moritz Hölting
2025-02-15 15:21:16 +0100
-
9ee888f996
update changelog and make flexbuffers dependency optional
Moritz Hölting
2025-02-15 10:36:16 +0100
-
572c68ca10
change order of serialization of Span by serializing to temporary buffer
Moritz Hölting
2025-02-12 15:18:05 +0100
-
b11f4d1caf
implement custom deserialize
Moritz Hölting
2025-02-12 14:37:52 +0100
-
5fbe40c41f
implement custom serialize for Span
Moritz Hölting
2025-02-12 14:09:02 +0100
-
346b97a58a
update dependencies
Moritz Hölting
2025-02-15 14:40:58 +0100
-
a99a155d76
fix compilation errors depending on feature selection and update dependency version
Moritz Hölting
2025-01-17 12:27:25 +0100
-
3a423e1de5
remove unnecessary RwLocks in Transpiler
Moritz Hölting
2024-11-15 10:42:52 +0100
-
95153f2912
unescape macro string contents
Moritz Hölting
2024-11-15 10:33:55 +0100
-
c0b266caca
allow passing in parameters to functions that will be used as macros
Moritz Hölting
2024-11-12 14:17:08 +0100
-
134f181635
show multiple errors and mark tick/load annotation incompatible with parameters
Moritz Hölting
2024-11-11 23:19:36 +0100
-
c880b58f64
require macros to be present in function parameters
Moritz Hölting
2024-11-11 22:54:24 +0100
-
550459922d
implement first version of macros
Moritz Hölting
2024-11-10 16:04:10 +0100
-
-
09400afa13
remove debug statement in lua handling
main
Moritz Hölting
2024-11-09 15:24:58 +0100
-
320eef8ed7
update mlua to 0.10.0
Moritz Hölting
2024-10-30 20:44:05 +0100
-
1f36650b50
prepare release of version 0.1.0
v0.1.0
Moritz Hölting
2024-10-01 12:01:20 +0200
-
5e6f158993
change to dual license, add code of conduct, contributing
Moritz Hölting
2024-09-30 16:55:43 +0200
-
f7414ad23f
use full hash length as name, improve docs
Moritz Hölting
2024-09-27 16:13:13 +0200
-
4d57e5ac61
update shulkerbox dependency for VFolder fix
Moritz Hölting
2024-09-22 22:48:49 +0200
-
973e6c2c1f
update shulkerbox dependency
Moritz Hölting
2024-09-22 13:33:00 +0200
-
1f4cad5634
implement tag declaration
Moritz Hölting
2024-09-21 22:45:05 +0200
-
536c8479aa
implement error on conflicting function names and deterministic function generation order
Moritz Hölting
2024-09-20 16:50:40 +0200
-
01a2d66503
improve lua integration by allowing more flexible return types and introducing globals
Moritz Hölting
2024-09-20 14:55:48 +0200
-
9581da3c04
change return type of parse_* functions from Option to Result
Moritz Hölting
2024-09-19 20:54:39 +0200
-
301ceb3efa
improve error display
Moritz Hölting
2024-09-19 00:12:24 +0200
-
a2de2d7338
add source code display to UnexpectedExpression, LuaRuntimeError errors
Moritz Hölting
2024-09-03 22:21:03 +0200
-
6094fc0df3
extend file provider with read_bytes method and return cow
Moritz Hölting
2024-09-01 22:41:43 +0200
-
4efcb55d7c
suggest similarly named functions if invoked function does not exist
Moritz Hölting
2024-08-29 00:57:11 +0200
-
befdc2bfd4
fix error on literal command directly after comment
Moritz Hölting
2024-08-28 13:09:19 +0200
-
659683bd39
add SourceCodeDisplay to MissingFunctionDeclaration error
Moritz Hölting
2024-08-27 22:55:26 +0200