Commit Graph

384 Commits

Author SHA1 Message Date
Sven Vogel 17fceeff4b fixed: direct variable assignment 2024-06-23 13:44:43 +02:00
Sven Vogel 30417592df added: new parser rules for assignments 2024-06-21 21:30:43 +02:00
Sven Vogel 984c34cfc7 Merge remote-tracking branch 'origin/integrate-library' into integrate-library 2024-06-13 00:15:43 +02:00
Sven Vogel 657efa3ebe fixed: wrong file in imported AST 2024-06-13 00:15:36 +02:00
Sven Vogel 439126af87 fixed: end of file diagnostics 2024-06-12 12:47:50 +02:00
Sven Vogel b23ce945ea file is now attribute of ast location 2024-06-12 01:09:10 +02:00
Sven Vogel 560e24950e added: string constants to backend llvm 2024-06-12 00:08:13 +02:00
Sven Vogel de253a94ab fixed: function declarations 2024-06-11 19:17:20 +02:00
Sven Vogel 09871cce76 added: import statement 2024-06-11 17:59:25 +02:00
Sven Vogel 41ee308fd4 fixed: out parameter not receiving pointer 2024-06-11 16:41:21 +02:00
Sven Vogel 158a9797ca added examples 2024-06-10 02:12:20 +02:00
Sven Vogel aae9204863 Merge remote-tracking branch 'origin/implement-stanard-library' into integrate-library
# Conflicts:
#	Dockerfile
2024-06-10 00:29:51 +02:00
Sven Vogel 266477c956 fixed: linker crashing 2024-06-10 00:11:53 +02:00
Sven Vogel d537dc94ae fixed: function call 2024-06-09 22:00:28 +02:00
Sven Vogel d4ce3387b9 added: more semantic errors checks 2024-06-09 21:34:45 +02:00
Sven Vogel f243bb6bfe added: parameter to backend 2024-06-09 18:34:31 +02:00
Sven Vogel 6afa552347 Merge remote-tracking branch 'origin/90-implement-the-struct-tree-for-the-parser' into 85-implement-llvm-backend 2024-06-09 15:15:08 +02:00
Sven Vogel 5a59f0fb3d fixed: loops 2024-06-09 15:11:44 +02:00
Felix Müller 84ccc253b8 added typecasts if needed 2024-06-09 01:14:10 +02:00
Felix Müller aeeec168a3 added type comparison in assign 2024-06-09 00:37:24 +02:00
Sven Vogel 7f93daa780 Merge remote-tracking branch 'origin/90-implement-the-struct-tree-for-the-parser' into 85-implement-llvm-backend 2024-06-08 23:28:15 +02:00
Felix Müller c4e803fc23 first finalized form of set 2024-06-08 23:26:40 +02:00
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
Felix Müller 8af6825567 first finalized form of set 2024-06-08 23:03:28 +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