Commit Graph

197 Commits

Author SHA1 Message Date
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
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
Sven Vogel 1e60890919 added type interface 2024-05-16 12:29:11 +02:00
Sven Vogel 16fcd6c8e2 added backend lib 2024-05-16 00:44:02 +02:00
Filleo a3e3e25e18
Merge pull request #79 from Servostar/68-generate-ast-from-parser-rules
68 generate ast from parser rules
2024-05-15 21:37:54 +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
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
Filleo 569b01c0f8
Merge pull request #74 from Servostar/69-better-parser-error-messages
69 better parser error messages
2024-05-15 10:03:41 +02:00
Sven Vogel c24a430fd2 fixed if statement 2024-05-14 20:23:29 +02:00
Sven Vogel 32b964444a added C like precedence for operators 2024-05-14 19:20:58 +02:00
Sven Vogel 3ea179b4a9 added precedence for +,-,*,/ 2024-05-14 19:08:42 +02:00
Felix Müller 1055aa0f73 add identlist 2024-05-14 17:01:42 +02:00
Felix Müller a14faeeee7 added specific lists
solved bug in Funcall
2024-05-14 15:30:13 +02:00
Felix Müller 8c063d7016 changed little error in main 2024-05-14 14:57:15 +02:00
Felix Müller b3ad82cc49 moved root node to main
moved output code to main
removed '"' from string literals
2024-05-14 14:03:45 +02:00
Sven Vogel 4c61851a48 fixed build errors 2024-05-14 13:28:05 +02:00
Sven Vogel 5aa192871b fixed bison build 2024-05-14 12:37:52 +02:00
Sven Vogel fa8c97d84f lexer unknown token passthrough 2024-05-14 12:27:21 +02:00
Felix Müller 3d3083c894 first functional state of syntax tree 2024-05-13 22:17:43 +02:00
Sven Vogel 02e7c2775b added better parser error messages 2024-05-13 16:13:49 +02:00
Felix Müller 0e5736e50c AST implementation WIP 2024-05-13 11:33:23 +02:00
Felix Müller bb474d75ad start of the syntax tree 2024-05-12 23:33:15 +02:00
Filleo 730248595e
Merge pull request #66 from Servostar/concept/ast-design
Concept/ast design
2024-05-12 21:28:53 +02:00