Commit Graph

398 Commits

Author SHA1 Message Date
Sven Vogel c4c422d899 added library binary resolving 2024-07-18 19:55:17 +02:00
Sven Vogel 938a5c7fdf added include rule to lexer and parser 2024-07-18 18:27:34 +02:00
servostar db501b4b9e
Merge pull request #123 from Servostar/integrate-library
Integrate library
2024-07-02 16:53:34 +02:00
Sven Vogel 4eae645e7b removed: alloca.h from func.c 2024-07-02 16:50:08 +02:00
Sven Vogel 68b153e04d fixed: memory double free 2024-07-02 16:49:37 +02:00
Sven Vogel 0eb921fa77 fixed: removed breaking tests 2024-07-02 16:45:05 +02:00
Sven Vogel 0936ab39c0 fixed: tests 2024-07-02 16:43:59 +02:00
Sven Vogel 09ac2251dc fixed: check errors 2024-07-02 16:34:19 +02:00
Sven Vogel 501fa5abbb removed: unused message generation from lld-c 2024-07-02 16:26:12 +02:00
Sven Vogel 799e6545ea removed: lld-c 2024-07-02 16:24:48 +02:00
Sven Vogel bb8e24d4f6 added: folder lib to devkit 2024-07-02 16:22:36 +02:00
Sven Vogel dcc999abbd added: storage expr implementation 2024-07-02 16:17:26 +02:00
Sven Vogel a1b6757635 added: support for basic escape sequences 2024-06-23 15:14:42 +02:00
Sven Vogel f142f6dc30 changed: library file extension to gsc 2024-06-23 14:21:21 +02:00
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