Commit Graph

33 Commits

Author SHA1 Message Date
Moritz Hölting fe2934f120 run as expression, implement return statement 2025-04-07 18:01:35 +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 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 23b14d7667 rework annotations & transpile single int declarations without assignment 2025-02-27 22:03:45 +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 346b97a58a update dependencies 2025-02-15 14:40:58 +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 550459922d implement first version of macros 2024-11-10 16:04:10 +01:00
Moritz Hölting 1f4cad5634 implement tag declaration 2024-09-21 22:45:05 +02:00
Moritz Hölting befdc2bfd4 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 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 b428c64f89 more ergonomic receive function of handler 2024-06-21 10:09:30 +02:00
Moritz Hölting 899a973315 implement from-import statement 2024-06-12 18:09:32 +02:00
Moritz Hölting e80809b3f9 Implement public keyword for functions 2024-06-09 17:59:56 +02:00
Moritz Hölting 2bac397096 implement remaining execute operators 2024-04-09 21:25:19 +02:00
Moritz Hölting a818325ce9 Implement execute blocks
- move conditionals to execute blocks
- implement "as" in execute blocks
2024-04-09 20:42:11 +02:00
Moritz Hölting b105a45154 Introduce namespace configuration syntax 2024-04-06 21:49:25 +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 3c3c9e5b24 Add serde dependency and derive serialization and deserialization for relevant structs 2024-04-06 14:40:44 +02:00
Moritz Hölting 4b52985992 Implement conditional operators 2024-04-03 13:46:57 +02:00
Moritz Hölting ced609265c Add support for grouping statements 2024-04-03 01:09:13 +02:00
Moritz Hölting dc288588c8 Add support for doc comments 2024-04-03 00:45:34 +02:00
Moritz Hölting b9bc5438e5 Implement annotations for functions 2024-04-01 20:42:38 +02:00
Moritz Hölting d4305b3629 Basic implementation of if/else without conditional operators 2024-03-29 18:26:43 +01:00
Moritz Hölting 9d24571b40 Add parser for syntax tree 2024-03-27 21:39:56 +01:00
Moritz Hölting 830b3b10d9 Add tokenizing module 2024-03-27 19:27:11 +01:00