Commit Graph

265 Commits

Author SHA1 Message Date
Sven Vogel 32b964444a added C like precedence for operators 2024-05-14 19:20:58 +02:00
Sven Vogel 3ea179b4a9 added precedence for +,-,*,/ 2024-05-14 19:08:42 +02:00
Felix Müller 1055aa0f73 add identlist 2024-05-14 17:01:42 +02:00
Felix Müller a14faeeee7 added specific lists
solved bug in Funcall
2024-05-14 15:30:13 +02:00
Felix Müller 8c063d7016 changed little error in main 2024-05-14 14:57:15 +02:00
Felix Müller b3ad82cc49 moved root node to main
moved output code to main
removed '"' from string literals
2024-05-14 14:03:45 +02:00
Sven Vogel 4c61851a48 fixed build errors 2024-05-14 13:28:05 +02:00
Sven Vogel 5aa192871b fixed bison build 2024-05-14 12:37:52 +02:00
Sven Vogel fa8c97d84f lexer unknown token passthrough 2024-05-14 12:27:21 +02:00
Felix Müller 3d3083c894 first functional state of syntax tree 2024-05-13 22:17:43 +02:00
Sven Vogel 02e7c2775b added better parser error messages 2024-05-13 16:13:49 +02:00
Ur Mom 9eba9d1437 fixed shift-reduce conflict 2024-05-13 13:45:22 +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
Ur Mom 76558e89ed Merge branch '41-add-parser-rules-for-casts' of https://github.com/Servostar/gemstone into 41-add-parser-rules-for-casts 2024-05-12 22:55:03 +02:00
Ur Mom eccce505e5 -added Type-Cast
-added Reinterpret-Cast
2024-05-12 22:54:58 +02:00
SirTalksalot75 8b72a9fae2
Merge pull request #70 from Servostar/main
update branch 41 from main
2024-05-12 22:23:53 +02:00
Filleo 730248595e
Merge pull request #66 from Servostar/concept/ast-design
Concept/ast design
2024-05-12 21:28:53 +02:00
Filleo 9eff5fbdef
Merge pull request #63 from Servostar/parser-devel
Grand Pull-Request for parser rules in main
2024-05-12 21:23:00 +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 12a522b0e6 added missing free for child array 2024-05-10 13:51:23 +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 efeb482128 removed gc 2024-05-08 22:10:14 +02:00
Sven Vogel eac3b23432 Revert "added detach function"
This reverts commit 4322797eae.
2024-05-08 22:06:54 +02:00
Felix Müller abbbe59b08 added string.h in ast.c 2024-05-08 21:56:33 +02:00
Felix Müller 32fe17fae2 Merge branch 'main' of https://github.com/Servostar/gemstone into parser-devel 2024-05-08 21:51:29 +02:00
Filleo fe4ea6ff2f
Merge pull request #61 from Servostar/44-add-parser-rule-for-boxes
44 add parser rule for boxes
2024-05-08 21:27:41 +02:00
servostar 2d411e3b7b
Merge branch 'concept/memory-safety' into concept/ast-design 2024-05-08 19:19:32 +00:00
Sven Vogel 4322797eae added detach function 2024-05-08 20:44:52 +02:00
Felix Müller f05ebf6ac2 added Self token
changed program rule
added rules for box
removed second assign
added storagequalifier
added typedefine
2024-05-08 15:51:30 +02:00
Sven Vogel a3f5bc1fe6 bumped action sdk 0.2.3 2024-05-08 14:11:39 +02:00
Sven Vogel a5cd609f68 bumped devkit 0.2.3 2024-05-08 14:06:12 +02:00
Sven Vogel 4840975b26 added graphviz to sdk 0.2.3 2024-05-08 14:03:35 +02:00
Sven Vogel dcda1158f2 added tmp folder handler 2024-05-08 13:55:40 +02:00
Sven Vogel 94efa65ed0 added test for graphviz 2024-05-08 13:49:06 +02:00
Filleo 5604fab87b
Merge pull request #60 from Servostar/parser-devel
Parser devel
2024-05-08 13:24:39 +02:00
Filleo cd6ebc60ad
Merge pull request #58 from Servostar/39-add-parser-rule-for-functions
added function parser rules
2024-05-08 13:23:58 +02:00
Filleo 0c9c5f37b4
Merge pull request #55 from Servostar/37-add-parser-rule-for-while
added while parser rule
2024-05-08 13:20:16 +02:00
SirTalksalot75 9676319a51
Merge pull request #59 from Servostar/add-parser-rule-for-modules-import
Added module-import parser rules
2024-05-08 13:18:47 +02:00
Felix Müller b8723bf83c removed empty lines 2024-05-08 13:18:34 +02:00
SirTalksalot75 743f8899f4
Merge branch 'parser-devel' into add-parser-rule-for-modules-import 2024-05-08 13:16:10 +02:00
Filleo e65761a64f
Merge branch 'parser-devel' into 39-add-parser-rule-for-functions 2024-05-08 09:32:25 +02:00
Filleo 03010bcf42
Merge branch 'parser-devel' into 37-add-parser-rule-for-while 2024-05-08 09:28:34 +02:00
servostar 95de445406
Merge pull request #53 from Servostar/52-fix-shiftreduce-confilcts
fixed shift reduce conflicts by removing epsilon functions
2024-05-07 13:51:35 +00:00
Sven Vogel 565d50b639 added gc module 2024-05-07 15:24:42 +02:00
Sven Vogel f32a16ea8e added tests for ast 2024-05-07 15:22:52 +02:00
Sven Vogel 86c74f66c2 added mote syntax elements 2024-05-07 13:04:22 +02:00
Ur Mom 198c27f676 changed moduleimport in parser 2024-05-07 10:07:00 +02:00
Sven Vogel 0a54dd5783 Merge branch 'concept/ast-design' of github.com:Servostar/gemstone into concept/ast-design
merged local changes
2024-05-07 09:51:19 +02:00