Commit Graph

79 Commits

Author SHA1 Message Date
Moritz Hölting b8303689db make serialization of source file thread local 2025-02-19 09:32:47 +01:00
Moritz Hölting a6a5e42b6b
Change development branch name in github action workflow 2025-02-18 10:18:16 +01:00
Moritz Hölting 19c55b78f4 add example compiler to demonstrate basic functionality and usage 2025-02-17 23:05:51 +01:00
Moritz Hölting 96fe865ac1 Merge branch 'feature/macro-functions' into develop 2025-02-17 13:58:58 +01:00
Moritz Hölting f962f5c36b remove dependency on feature "rc" of serde 2025-02-16 20:41:20 +01:00
Moritz Hölting e1fb8c2a8e change back to derive (de-)serialize for Span 2025-02-16 20:41:20 +01:00
Moritz Hölting 23aa3a58fe update changelog and make flexbuffers dependency optional 2025-02-16 20:41:20 +01:00
Moritz Hölting 5b5465488f change order of serialization of Span by serializing to temporary buffer 2025-02-16 20:41:20 +01:00
Moritz Hölting 116a15e8ea implement custom deserialize
- requires opposite order of data and source_files than what is serialized
2025-02-16 20:41:20 +01:00
Moritz Hölting 124d3383e8 implement custom serialize for Span 2025-02-16 20:41:20 +01:00
Moritz Hölting a91b6f82f5 update dependencies 2025-02-15 14:40:58 +01:00
Moritz Hölting 8223dccc24 fix compilation errors depending on feature selection and update dependency version 2025-01-17 12:27:25 +01:00
Moritz Hölting 6179bebbf0 remove unnecessary RwLocks in Transpiler 2024-11-15 10:42:52 +01:00
Moritz Hölting 5154531083 unescape macro string contents 2024-11-15 10:33:55 +01:00
Moritz Hölting 03973bbac1 allow passing in parameters to functions that will be used as macros 2024-11-12 14:40:40 +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
Moritz Hölting b2cc3bb4c7 implement first version of macros 2024-11-10 16:04:10 +01:00
Moritz Hölting cd350c538e remove debug statement in lua handling 2024-11-09 15:24:58 +01:00
Moritz Hölting 8d359f9969 update mlua to 0.10.0 2024-10-30 20:44:05 +01:00
Moritz Hölting aed758101c prepare release of version 0.1.0 2024-10-01 12:01:20 +02:00
Moritz Hölting a9a8aff13b change to dual license, add code of conduct, contributing 2024-09-30 16:55:43 +02:00
Moritz Hölting 804f314df7 use full hash length as name, improve docs 2024-09-27 16:26:24 +02:00
Moritz Hölting c1a8bc8577 update shulkerbox dependency for VFolder fix 2024-09-22 22:48:49 +02:00
Moritz Hölting a3e0bd95bc update shulkerbox dependency 2024-09-22 13:33:00 +02:00
Moritz Hölting 6abe437c70 implement tag declaration 2024-09-21 22:45:05 +02:00
Moritz Hölting 0133661ad4 implement error on conflicting function names and deterministic function generation order 2024-09-20 16:50:40 +02:00
Moritz Hölting 61b8f1ffb9 improve lua integration by allowing more flexible return types and introducing globals 2024-09-20 14:55:48 +02:00
Moritz Hölting 0cccee936e change return type of parse_* functions from Option to Result 2024-09-19 20:54:39 +02:00
Moritz Hölting 2bc8281f19 improve error display 2024-09-19 00:12:24 +02:00
Moritz Hölting 6f3c152e73 add source code display to UnexpectedExpression, LuaRuntimeError errors 2024-09-03 22:21:03 +02:00
Moritz Hölting 6e019fb3ac extend file provider with read_bytes method and return cow 2024-09-01 22:41:43 +02:00
Moritz Hölting 3332511290 suggest similarly named functions if invoked function does not exist 2024-08-29 00:57:11 +02:00
Hölting, Moritz (Intern) 6422737cf3 fix error on literal command directly after comment 2024-08-28 13:09:19 +02:00
Moritz Hölting 659683bd39 add SourceCodeDisplay to MissingFunctionDeclaration error 2024-08-27 22:55:26 +02:00
Moritz Hölting 4505def6c0 fix code error message not being displayed 2024-08-24 00:46:37 +02:00
Moritz Hölting 8953b347c5 fix different function signature of eval_string when lua is disabled 2024-08-23 23:56:10 +02:00
Moritz Hölting f73665d265 add code example to top level functions 2024-08-23 00:20:30 +02:00
Moritz Hölting 83d5f329f9 allow custom handlers instead of only printer 2024-08-23 00:06:58 +02:00
Moritz Hölting bc25da6f2c cleanup and correct string literal content implementation 2024-07-08 15:03:09 +02:00
Moritz Hölting a0a27cda96 add argument for transpiling pack_format 2024-06-24 21:49:51 +02:00
Moritz Hölting 398fce2bd6 add some integration tests 2024-06-24 21:37:02 +02:00
Moritz Hölting af544ac79e implement file provider for working without file systems 2024-06-21 19:22:24 +02:00
Moritz Hölting b428c64f89 more ergonomic receive function of handler 2024-06-21 10:09:30 +02:00
Moritz Hölting dd79541ae9 add tracing crate for logging 2024-06-15 21:49:05 +02:00
Moritz Hölting 5336ffb91e change project name from shulkerscript-lang to shulkerscript 2024-06-12 18:25:59 +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 ae1492aa42 add contributing section to readme 2024-06-10 16:27:33 +02:00
Moritz Hölting 44d634355b update shulkerbox dependency to latest commit 2024-06-10 15:52:06 +02:00