Commit Graph

44 Commits

Author SHA1 Message Date
Sven Vogel 98ecd8a6ae Merge remote-tracking branch 'origin/90-implement-the-struct-tree-for-the-parser' into 85-implement-llvm-backend
# Conflicts:
#	src/cfg/opt.c
#	src/set/types.h
2024-06-08 23:10:15 +02:00
Sven Vogel 77ef7d0f07 Merge remote-tracking branch 'origin/main' into 85-implement-llvm-backend
# Conflicts:
#	src/ast/ast.h
#	src/cfg/opt.c
#	src/compiler.c
#	src/io/files.c
#	src/main.c
#	tests/CMakeLists.txt
2024-06-08 22:39:51 +02:00
Sven Vogel 150f87990a fixed: memory leaks
added: memory cache for GLIB arrays and hashtables
2024-06-08 14:55:40 +02:00
Sven Vogel 03d64fce2e added: garbage collector 2024-06-05 20:00:14 +02:00
Sven Vogel 54c7103df1 build bridge between compiler config and backend config 2024-06-04 14:22:12 +02:00
Sven Vogel 814d3483b7 removed unused include 2024-06-03 11:12:46 +02:00
Sven Vogel 4404cea019 fixed option handling 2024-06-03 11:08:25 +02:00
Sven Vogel e25fd4b559 added missing --help 2024-06-03 10:14:25 +02:00
Sven Vogel 33988beb10 added proper handling of arguments 2024-06-03 00:24:17 +02:00
Sven Vogel fcbfb548c3 added doxygen and added new compiler module 2024-06-02 20:57:59 +02:00
Sven Vogel 01f5ef953d fixed devkit not cloning submodules 2024-06-01 14:52:59 +02:00
Sven Vogel 3a8796a462 fixed segfaults 2024-06-01 01:00:22 +02:00
Sven Vogel 8f24596779 fixed implementation vaults 2024-05-31 21:25:37 +02:00
Sven Vogel d60ebd6812 fixed: return 1 if no input files specified 2024-05-30 21:46:44 +02:00
Sven Vogel 472a4a623c feature: added error diagnostics and the ability to parse multiple files 2024-05-30 21:06:03 +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 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 02e7c2775b added better parser error messages 2024-05-13 16:13:49 +02:00
Sven Vogel efeb482128 removed gc 2024-05-08 22:10:14 +02:00
Sven Vogel 565d50b639 added gc module 2024-05-07 15:24:42 +02:00
Sven Vogel 86c74f66c2 added mote syntax elements 2024-05-07 13:04:22 +02:00
servostar 0b832bf199
Merge branch 'concept/ast-design' into 47-add-tests 2024-05-07 07:48:12 +00:00
Sven Vogel c6d8651ab6 added debug statements 2024-05-05 16:31:55 +02:00
Sven Vogel 914935aafb added function to convert AST to graphviz diagram 2024-04-30 14:01:00 +02:00
Ur Mom 72bba3278a updated main.c 2024-04-26 16:21:54 +02:00
SirTalksalot75 5f53d1dce4
Update main.c
changed indendation and declared and initialized yyin after file opening
2024-04-25 14:02:12 +02:00
SirTalksalot75 520520e576
Update main.c
moved atexit() to setup
2024-04-23 15:27:11 +02:00
SirTalksalot75 fafcb942e0
Update main.c
fixed typo, and changed close_file function
2024-04-23 14:38:30 +02:00
SirTalksalot75 dad9cbb93a
Update main.c
fixed typo
2024-04-23 14:32:00 +02:00
SirTalksalot75 7797595fef
Update main.c
added File Insertion through arguments
2024-04-23 14:25:49 +02:00
SirTalksalot75 a85558e118
Update main.c
changed close_file Function
changed ERROR to PANIC
2024-04-22 14:01:18 +02:00
SirTalksalot75 05d603f7ac
Update main.c
added Function for file closing
2024-04-22 13:41:37 +02:00
SirTalksalot75 4976aeb22f
Update main.c
fixed typo
2024-04-22 12:57:49 +02:00
SirTalksalot75 6d249dd9ea
Update main.c
deleted fclose()
2024-04-22 12:54:20 +02:00
SirTalksalot75 6fca12df39
modified main.c
-added Error-message from Logging API.
-changed exit and moved after yyparse()
-added extern for file name
todo: make file name user input variable.
2024-04-22 12:53:48 +02:00
SirTalksalot75 1cfe9485e9
added case for missing input of file to main.c 2024-04-22 11:51:27 +02:00
SirTalksalot75 e90cd80fbe
added prototype for File-reading to main.c 2024-04-21 22:48:29 +02:00
Sven Vogel 95f6b4ddc1 fixed warnings in main.c regarding whiteapace and declaration of main 2024-04-12 18:20:18 +02:00
Sven Vogel 667f985d30 added documentation to main.c 2024-04-12 17:29:39 +02:00
Sven Vogel 4f30e6308d added function for notifying about exit 2024-04-12 17:28:20 +02:00
Sven Vogel f90ee70a8d added sys/log module and setup function 2024-04-12 17:24:12 +02:00
Sven Vogel 9c02a86a51 added canonical project structure 2024-02-04 16:23:32 +01:00