Commit Graph

232 Commits

Author SHA1 Message Date
Sven Vogel 9e4b0a1000 added llvm17-dev as dependency to sdk 0.2.5 2024-05-27 19:53:22 +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 fd1cca119f removed llvm test 2024-05-27 01:24:35 +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 e3f8e4b461 added .clang-format 2024-05-26 19:03:23 +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
SirTalksalot75 fc80e23917
Merge pull request #71 from Servostar/41-add-parser-rules-for-casts
41 add parser rules for casts
2024-05-21 14:32:15 +02:00
SirTalksalot75 1d7fb31da5
Update CMakeLists.txt
changed yacc ->bison
2024-05-21 14:20:15 +02:00
Sven Vogel fa32df1010 backend parses type and function declarations 2024-05-21 13:08:41 +02:00
SirTalksalot75 0e098db726
Update test_ast.py 2024-05-21 12:21:54 +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 690e847d54 added param test 2024-05-21 10:15:56 +02:00
Sven Vogel 0f85dc259f finished type test 2024-05-21 09:56:41 +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 b6a5ee0ad6 Merge remote-tracking branch 'origin/main' into 85-implement-llvm-backend 2024-05-20 22:10:11 +02:00
servostar bebeed9359
Merge pull request #87 from Servostar/86-implement-hashmap
86 implement hashmap
2024-05-20 11:43:40 +00:00
Sven Vogel 2804fd552b added function backend 2024-05-19 16:07:27 +02:00
Sven Vogel e433421626 fixed hashtable 2024-05-18 14:05:12 +02:00
Sven Vogel 8894c6f842 fixed docker builld script 2024-05-18 12:52:00 +02:00
Sven Vogel 858a6a3c4e transioned to glib 2024-05-18 12:25:13 +02:00
Sven Vogel 330ffc3b2f initialized git submodule 2024-05-17 16:50:04 +02:00
Sven Vogel df63cffba4 added submodule klib 2024-05-17 16:17:04 +02:00
Sven Vogel 13c1763227 removed klib 2024-05-17 16:16:16 +02:00
Sven Vogel 00eab344ec fixed some errors 2024-05-17 16:02:40 +02:00
Sven Vogel 54682b4a39 made command source optional 2024-05-17 15:53:27 +02:00
Sven Vogel fa7e5d4688 added missing files to devkit 2024-05-17 15:49:10 +02:00
Sven Vogel 2ad8d83341 calling script in shell 2024-05-17 15:47:25 +02:00
Sven Vogel 0bfd54dfb0 calling run-docker-build.sh 2024-05-17 15:46:35 +02:00
Sven Vogel 24dbfc7b20 sourcing env file in same shell 2024-05-17 15:45:34 +02:00
Sven Vogel 47edaea82b sourcing .env file in action 2024-05-17 15:41:52 +02:00
Sven Vogel 6d03b97b9c added klib as external library 2024-05-17 15:39:07 +02:00