Commit Graph

161 Commits

Author SHA1 Message Date
Sven Vogel 61249d6eaf feature: implemented while statement 2024-05-29 13:03:39 +02:00
Sven Vogel 1ac9664c4d finished implementing expressions 2024-05-29 09:02:46 +02:00
Sven Vogel 3ba11ec97b feature: added logical operators 2024-05-28 23:12:56 +02:00
Sven Vogel 28a4f619a0 fixed: added missing header func.h 2024-05-28 22:10:04 +02:00
Sven Vogel f9eacef52f added bitwise operators 2024-05-28 15:58:30 +02:00
Sven Vogel 5fae7a12c1 added: expressions 2024-05-28 15:34:21 +02:00
Sven Vogel 9eddfd75bc added assign implementation 2024-05-28 13:32:56 +02:00
Sven Vogel 48110c85f2 added function definition block 2024-05-28 11:51:24 +02:00
Sven Vogel 68622fbd00 added function parsing 2024-05-27 23:50:29 +02:00
Sven Vogel 6197acf3b2 fixed: llvm dependencies in sdk 2024-05-27 21:22:06 +02:00
Sven Vogel fb6f6e9777 finished global variable test 2024-05-27 18:17:15 +02:00
Sven Vogel 0fcb0d7af8 added test for llvm vars 2024-05-27 16:47:32 +02:00
Sven Vogel e01d4c4808 added debug and error messages 2024-05-27 15:56:44 +02:00
Sven Vogel 92f4708ce7 feature: codegen 2024-05-27 13:05:56 +02:00
Sven Vogel ad7355c94c removed llvm tests 2024-05-27 01:24:37 +02:00
Sven Vogel f16e2cfbaa fixed: mismatched pointer type 2024-05-26 22:52:48 +02:00
Sven Vogel b91c277ac4 added global variables 2024-05-26 22:51:49 +02:00
Sven Vogel 78e6310b05 moved module generation to backend parser 2024-05-26 17:30:53 +02:00
Sven Vogel d0cd74c697 modified codegen backend to use set module 2024-05-26 17:23:08 +02:00
servostar 932e1fa961
Merge pull request #105 from Servostar/89-implement-structs-for-parser
89 implement structs for parser
2024-05-26 15:14:00 +00:00
Sven Vogel 9a5f392b67 Merge branch '89-implement-structs-for-parser' of github.com:Servostar/gemstone into 89-implement-structs-for-parser 2024-05-26 17:12:23 +02:00
Sven Vogel dcd309c7b4 added module type 2024-05-26 17:11:43 +02:00
Sven Vogel 614c917b81 removed redundant files 2024-05-26 17:07:39 +02:00
servostar 220b5d7dcb
Merge pull request #104 from Servostar/89-implement-structs-for-parser
89 implement structs for parser
2024-05-26 15:03:46 +00:00
Felix Müller b7c7fd040a added ast pointer to all structs
removed StringLiteralType because of multiple definitions if used
2024-05-26 16:42:12 +02:00
Sven Vogel 7705aea238 added header for semantic tree types 2024-05-23 21:54:37 +02:00
Sven Vogel 8603656e3e added basic expression support 2024-05-22 20:27:40 +02:00
Sven Vogel 00089a4939 added error handling 2024-05-22 16:11:00 +02:00
Sven Vogel 3b78d117b5 added default values for composites 2024-05-21 15:55:22 +02:00
Sven Vogel 6967770d0e added declarations 2024-05-21 14:36:37 +02:00
Sven Vogel fa32df1010 backend parses type and function declarations 2024-05-21 13:08:41 +02:00
SirTalksalot75 58f7170df6
changed lookuptable for casts in ast.c 2024-05-21 12:20:45 +02:00
Sven Vogel 4a3b974d9f added functions to scope 2024-05-21 11:59:44 +02:00
Sven Vogel cc1dc790e1 added test for typedef 2024-05-21 00:41:03 +02:00
Sven Vogel 17e2cd7110 added scope 2024-05-21 00:17:11 +02:00
Sven Vogel 2804fd552b added function backend 2024-05-19 16:07:27 +02:00
Ur Mom 8d7c6a4a2b changed ast implementation for cast 2024-05-16 18:04:02 +02:00
Sven Vogel 1e60890919 added type interface 2024-05-16 12:29:11 +02:00
Ur Mom e57682d717 changed node-name according to ast.h 2024-05-16 11:34:51 +02:00
Ur Mom 2757132cf2 Fixed Typo 2024-05-16 10:27:44 +02:00
SirTalksalot75 af32c32c6a
Merge branch 'main' into 41-add-parser-rules-for-casts 2024-05-16 08:24:19 +02:00
Sven Vogel 16fcd6c8e2 added backend lib 2024-05-16 00:44:02 +02:00
Felix Müller addaff4818 i am not a smart man 2024-05-15 19:30:29 +02:00
Filleo 8b61cca153
Merge branch 'main' into 68-generate-ast-from-parser-rules 2024-05-15 19:19:03 +02:00
Felix Müller 7789c7e597 added removal of root node after output generation 2024-05-15 17:03:18 +02:00
Felix Müller d7b690ec8a solved error in test 2024-05-15 16:26:40 +02:00
Felix Müller f2317c78ce solved bug from fun def 2024-05-15 16:14:55 +02:00
Ur Mom 7da3c9151d fixed shift reduce conflicts in typecast 2024-05-15 15:50:26 +02:00
Felix Müller ac7ceaab9b added while to the syntax tree 2024-05-15 10:41:08 +02:00
Felix Müller f11ade2ef2 changed If else branches, so that the whole branch is under one stmt node 2024-05-15 10:29:47 +02:00