Commit Graph

33 Commits

Author SHA1 Message Date
Sven Vogel 56cebd5742 feat: implemented function annotations 2024-10-10 20:11:42 +02:00
Sven Vogel 42fbda9f01 feat: introduced mangled modules for function names 2024-10-10 11:31:38 +02:00
Sven Vogel 76f5a0fd7f rework of module import 2024-09-01 16:55:53 +02:00
Sven Vogel e1649657fd formatted source with clangd 2024-08-05 22:47:12 +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 81e8c833e3 added stdlib tests 2024-08-02 18:01:39 +02:00
Sven Vogel 938a5c7fdf added include rule to lexer and parser 2024-07-18 18:27:34 +02:00
Sven Vogel 30417592df added: new parser rules for assignments 2024-06-21 21:30:43 +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 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 03d64fce2e added: garbage collector 2024-06-05 20:00:14 +02:00
Sven Vogel 2de4f7b460 fixed: ast memory leak leaf nodes 2024-06-05 14:37:34 +02:00
Sven Vogel f069d04ad1 changed ast implementation to use glib 2024-06-05 14:08:52 +02:00
Sven Vogel 05634db44a Merge remote-tracking branch 'origin/main' into 85-implement-llvm-backend
# Conflicts:
#	src/main.c
#	tests/CMakeLists.txt
2024-06-04 11:57:45 +02:00
Sven Vogel 8f3bef3b95 added reference type definition
added reference access (array)
2024-06-03 15:58:41 +02:00
Sven Vogel 472a4a623c feature: added error diagnostics and the ability to parse multiple files 2024-05-30 21:06:03 +02:00
Sven Vogel 8603656e3e added basic expression support 2024-05-22 20:27:40 +02:00
Felix Müller a14faeeee7 added specific lists
solved bug in Funcall
2024-05-14 15:30:13 +02:00
Felix Müller 3d3083c894 first functional state of syntax tree 2024-05-13 22:17:43 +02:00
Felix Müller 0e5736e50c AST implementation WIP 2024-05-13 11:33:23 +02:00
Felix Müller bb474d75ad start of the syntax tree 2024-05-12 23:33:15 +02:00
Sven Vogel 23968f7acc required C standard is C23
refactored logger function names to remove underscores
added function attributes
2024-05-10 15:09:52 +02:00
Sven Vogel 80888fdb8d added function for removing and detaching a node 2024-05-10 13:49:04 +02:00
Sven Vogel dd4d70829e added more documentation to AST header 2024-05-10 13:00:25 +02:00
Sven Vogel eac3b23432 Revert "added detach function"
This reverts commit 4322797eae.
2024-05-08 22:06:54 +02:00
Sven Vogel 4322797eae added detach function 2024-05-08 20:44:52 +02:00
Sven Vogel 94efa65ed0 added test for graphviz 2024-05-08 13:49:06 +02:00
Sven Vogel 86c74f66c2 added mote syntax elements 2024-05-07 13:04:22 +02:00
Sven Vogel 03855c5ae6 added more AST elements 2024-05-06 10:32:05 +02:00
Sven Vogel 914935aafb added function to convert AST to graphviz diagram 2024-04-30 14:01:00 +02:00
Sven Vogel 4f5cf6408e added blueprint for AST library 2024-04-23 15:58:07 +02:00