Commit Graph

18 Commits

Author SHA1 Message Date
Moritz Hölting c3c476ad94 implement basic assignment transpilation 2025-03-06 14:40:26 +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 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 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 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 6094fc0df3 extend file provider with read_bytes method and return cow 2024-09-01 22:41:43 +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 01040964af Add Lua support to transpiler 2024-04-06 17:23:20 +02:00
Moritz Hölting 9f8b31e2aa Add 'Run' statement to grammar and syntax tree 2024-04-06 15:12:20 +02:00
Moritz Hölting 34076f9842 Update TranspileError enum and add TranspileResult type 2024-04-06 14:30:11 +02:00
Moritz Hölting 2ed6e56ef1 Refactor transpile module and error handling 2024-04-05 12:59:21 +02:00
Moritz Hölting 9159c8222e Rename compiler to transpiler and implement load and tick annotation for main function 2024-04-03 01:27:02 +02:00