Commit Graph

350 Commits

Author SHA1 Message Date
Sven Vogel d5193f66be fixed: wrong struct cast 2024-06-08 23:26:40 +02:00
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 9ddf215d35 added: linker arguments 2024-06-08 23:08:38 +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 ac813ae8bf added: linker wrapper for lld 2024-06-08 22:31:33 +02:00
Felix Müller c53c3c33f3 solved segfault 2024-06-08 17:52:50 +02:00
Felix Müller 5eded1aa20 added references, derefs and addressOf to set 2024-06-08 17:33:28 +02:00
Felix Müller bfd3040df4 Merge remote-tracking branch 'origin/90-implement-the-struct-tree-for-the-parser' into 90-implement-the-struct-tree-for-the-parser
# Conflicts:
#	src/set/set.c
#	src/set/types.c
2024-06-08 17:28:41 +02:00
Felix Müller 71755e48a4 added references, derefs and addressOf to set 2024-06-08 17:06:55 +02:00
Sven Vogel 6e59b7ac73 added: new types.h 2024-06-08 16:14:24 +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 7f0ca78f92 added: delete routines for set 2024-06-07 15:36:02 +02:00
Sven Vogel f51e72d154 fixed: clone not using memory cache 2024-06-07 12:37:50 +02:00
Felix Müller b9226ad3f5 merged main in branch 2024-06-06 23:21:06 +02:00
Felix Müller af07d82d94 Merge remote-tracking branch 'origin/main' into 90-implement-the-struct-tree-for-the-parser
# Conflicts:
#	src/compiler.c
#	src/main.c
2024-06-06 23:05:10 +02:00
servostar 1964c93474
Merge pull request #120 from Servostar/119-fix-ast-memory-leak
119 fix ast memory leak
2024-06-06 22:53:16 +02:00
servostar a639b988ed
Merge branch 'main' into 119-fix-ast-memory-leak 2024-06-06 22:50:21 +02:00
Sven Vogel bd368f99ef added: linker file discovery 2024-06-06 22:47:53 +02:00
servostar c61e1a49ba
Merge pull request #118 from Servostar/117-add-window-build-ci
117 add window build ci
2024-06-06 22:46:24 +02:00
servostar bf6de9c313
Merge pull request #122 from Servostar/121-update-readme
121 update readme
2024-06-06 22:45:15 +02:00
Filleo ce17efb6eb
Update README.md
small spelling error
2024-06-06 22:39:04 +02:00
Felix Müller 6502a7f4bb first working implementation of set 2024-06-06 21:48:41 +02:00
Sven Vogel 110946b1e1 added: option to force colorized output 2024-06-06 20:38:17 +02:00
Sven Vogel b33e769cf8 fixed: false backend error generation 2024-06-06 11:55:21 +02:00
Sven Vogel b843a9aa79 Merge remote-tracking branch 'origin/85-implement-llvm-backend' into 85-implement-llvm-backend 2024-06-06 11:26:36 +02:00
Sven Vogel 3e43960508 transitioned from manual file utilites to glib 2024-06-06 11:26:26 +02:00
Felix Müller 4067339df8 first kind of working implementation of set 2024-06-05 23:55:30 +02:00
Sven Vogel 30230249ae added: verification of llvm module after compilation 2024-06-05 21:38:46 +02:00
servostar 3e84af4413
Update README.md 2024-06-05 21:25:31 +02:00
Felix Müller 069369ca61 minor change 2024-06-05 21:20:21 +02:00
Felix Müller b8660c1595 major set build
Co-authored-by: SirTalksalot75 <SirTalksalot75@users.noreply.github.com>
2024-06-05 21:16:52 +02:00
Sven Vogel 2a3a4aa159 added: MSYS2 build for windows to readme 2024-06-05 21:13:00 +02:00
Sven Vogel 03d64fce2e added: garbage collector 2024-06-05 20:00:14 +02:00
Sven Vogel 1e2f3c263a fixed: lexer memory leak due to strdup 2024-06-05 15:03:23 +02:00
Sven Vogel 2de4f7b460 fixed: ast memory leak leaf nodes 2024-06-05 14:37:34 +02:00
Sven Vogel f069d04ad1 changed ast implementation to use glib 2024-06-05 14:08:52 +02:00
Felix Müller 80c73e8b81 finished if branch 2024-06-05 12:53:50 +02:00
Sven Vogel b75ff7e44f fixed: macro definitions 2024-06-05 11:59:03 +02:00
Sven Vogel f9a18fc107 fixed: implicit function _mkdir 2024-06-05 11:54:27 +02:00
Sven Vogel 3587451b93 fixed: implicit function _fullpath 2024-06-05 11:49:55 +02:00
Sven Vogel edefc717c8 added windows CI based on MSYS2 2024-06-05 11:37:57 +02:00
Felix Müller d0b1d367d5 major set building
Co-authored-by: SirTalksalot75 <SirTalksalot75@users.noreply.github.com>
Co-authored-by: servostar <Servostar@users.noreply.github.com>
2024-06-05 00:31:40 +02:00
Sven Vogel 14c5ba320c moved modules for llvm-ir generation into subfolder 2024-06-04 15:34:47 +02:00
Sven Vogel e893dd327b added llvm/link module 2024-06-04 15:28:41 +02:00
Sven Vogel 4ac0ee79d1 fixed: missing init of asm parsers 2024-06-04 15:18:22 +02:00
Sven Vogel 0c5fb4fd41 changed build config for llvm test 2024-06-04 15:06:17 +02:00
Sven Vogel 1c476cd561 fixed test not passing 2024-06-04 14:58:40 +02:00
Sven Vogel 54c7103df1 build bridge between compiler config and backend config 2024-06-04 14:22:12 +02:00
Sven Vogel 05634db44a Merge remote-tracking branch 'origin/main' into 85-implement-llvm-backend
# Conflicts:
#	src/main.c
#	tests/CMakeLists.txt
2024-06-04 11:57:45 +02:00
Felix Müller 4d33c81c3f major reconstruction of SET
Co-authored-by: servostar <Servostar@users.noreply.github.com>
Co-authored-by: SirTalksalot75 <SirTalksalot75@users.noreply.github.com>
2024-06-03 23:58:19 +02:00