Commit Graph

456 Commits

Author SHA1 Message Date
Sven Vogel 46d47ce9d7 Merge remote-tracking branch 'origin/124-compile-exectuable-with-clang' into 124-compile-exectuable-with-clang
# Conflicts:
#	src/llvm/link/lld.c
2024-07-18 19:59:38 +02:00
servostar 087a283112
Merge pull request #127 from Servostar/126-create-include-statement
126 create include statement
2024-07-18 19:56:47 +02:00
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
Sven Vogel 0f237fd1cf added: clang system call 2024-07-17 22:50:48 +02:00
Sven Vogel d32b39e960 fixed: assignment storing pointer instead of value 2024-07-16 21:25:59 +02:00
Sven Vogel 942c9484ac fixed: parameter handling 2024-07-16 19:44:57 +02:00
Sven Vogel 0e03246fc3 added: type check for assignment 2024-07-12 20:07:35 +02:00
Sven Vogel 88e1f061d8 added: parameter access validation 2024-07-12 17:54:38 +02:00
Sven Vogel 372c14c575 fixed: assignment of multidimensional arrays 2024-07-10 20:21:12 +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