Commit Graph

331 Commits

Author SHA1 Message Date
Sven Vogel d2d70edb06 chore: run clang format 2024-10-10 22:59:45 +02:00
Sven Vogel fb055a5225 fix: mismatched AST locations (#140) 2024-10-10 22:57:13 +02:00
Sven Vogel a71385d508 feat: added support for entry point flag in ld.lld 2024-10-10 21:13:57 +02:00
Sven Vogel 044a11f28c feat: added support for color-always option for ld.lld 2024-10-10 20:50:21 +02:00
Sven Vogel 3025ff3203 fix: leaked memory from `strdup` called by lldcl module 2024-10-10 20:44:51 +02:00
Sven Vogel 27a4d6e465 fix: memory leaks regarded to glib 2024-10-10 20:44:29 +02:00
Sven Vogel 8d748038c0 fix: removed String wrapper in favor of cached memory 2024-10-10 20:29:03 +02:00
Sven Vogel 96c38815fe fix: freed cached memory address 2024-10-10 20:21:46 +02:00
Sven Vogel 7dda7f466b fix: missing account for added whitespace 2024-10-10 20:18:08 +02:00
Sven Vogel 56cebd5742 feat: implemented function annotations 2024-10-10 20:11:42 +02:00
Sven Vogel 5715d40eed feat: changed single line comment syntax from '#' to '//' 2024-10-10 12:00:14 +02:00
Sven Vogel 42fbda9f01 feat: introduced mangled modules for function names 2024-10-10 11:31:38 +02:00
Sven Vogel d133a8a0f0 feat: added parent modules to function name 2024-10-10 10:03:41 +02:00
Sven Vogel af83cb4f4e fix: removed root module name 2024-10-08 12:03:01 +02:00
Sven Vogel 3092173d72 fix: module name contains file extension 2024-10-08 11:30:43 +02:00
Sven Vogel 55cd8cac40 feat: added module reference to AST 2024-10-07 16:43:52 +02:00
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