Commit Graph

315 Commits

Author SHA1 Message Date
Sven Vogel dee972a637 feat: add triple customization in target configuration 2024-09-22 23:12:29 +02:00
Sven Vogel caeda1224c fix: multiple definition of triple elements 2024-09-19 22:54:12 +02:00
Sven Vogel 6b5f80799e feat: added library functions for extracting features from LLVM triples 2024-09-19 21:07:17 +02:00
Sven Vogel 2a688816fb feat: added optimization level option to lld 2024-09-19 19:48:45 +02:00
Sven Vogel 0b1245b9cc fix: binary not build properly 2024-09-17 19:42:01 +02:00
Sven Vogel 76f5a0fd7f rework of module import 2024-09-01 16:55:53 +02:00
Sven Vogel cf59e9640d refactored standard library 2024-08-11 18:40:20 +02:00
Sven Vogel e1649657fd formatted source with clangd 2024-08-05 22:47:12 +02:00
Sven Vogel 57d80cda62 fixed failing tests 2024-08-05 21:21:25 +02:00
Sven Vogel b786b3e156 added function return type 2024-08-04 16:20:23 +02:00
Sven Vogel 53840881d7 added token and parser rules for function return value 2024-08-02 18:48:24 +02:00
Sven Vogel 34361bd834 fixed compiler always exiting with 0 2024-08-02 18:23:23 +02:00
Sven Vogel 81e8c833e3 added stdlib tests 2024-08-02 18:01:39 +02:00
Sven Vogel d9791cc0a2 fixed string literals 2024-07-21 17:02:16 +02:00
Sven Vogel d35442f092 added echo test 2024-07-21 11:49:38 +02:00
Sven Vogel a57691cace added driver test
fixed memory leaks
added hello world test
2024-07-21 01:36:44 +02:00
Sven Vogel ee8809a393 fixed uninit err in backend 2024-07-19 22:22:35 +02:00
Sven Vogel 2a05b06615 fixed segfault 2024-07-18 23:26:53 +02:00
Sven Vogel cedb12d7b6 fixed failing check 2024-07-18 23:12:47 +02:00
Sven Vogel b08b04ebf9 fixed no error on missing driver 2024-07-18 23:09:12 +02:00
Sven Vogel 09b3b86180 added configuration options for driver 2024-07-18 23:05:41 +02:00
Sven Vogel 9786abc212 added gcc driver 2024-07-18 23:00:38 +02:00
Sven Vogel 7cfbeb085d added list-driver option 2024-07-18 22:50:37 +02:00
Sven Vogel 11594bf44c added binary driver clang 2024-07-18 22:41:11 +02:00
Sven Vogel fcf5e08ef0 added output file option to clang 2024-07-18 22:03:53 +02:00
Sven Vogel 056c62acad added custom import and link paths to build.toml 2024-07-18 21:59:29 +02:00
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
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
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 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 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 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