Sven Vogel
0fe3fb68a6
reverted: removed box access from assignment
2024-05-28 13:57:13 +02:00
Sven Vogel
f590e3c42e
fixed: missing box member access in assignment
2024-05-28 13:44:40 +02:00
Sven Vogel
9eddfd75bc
added assign implementation
2024-05-28 13:32:56 +02:00
Sven Vogel
119dfd7796
Merge remote-tracking branch 'origin/89-implement-structs-for-parser' into 89-implement-structs-for-parser
2024-05-28 12:36:48 +02:00
Sven Vogel
1aa8206268
fixed: missing kind in statement
2024-05-28 12:36:33 +02:00
Sven Vogel
48110c85f2
added function definition block
2024-05-28 11:51:24 +02:00
Sven Vogel
0d1f312ae2
fixed: various implementation faults
...
fixed typo of parameter
added function struct to group their declaration and definitons
added block to function definiton
added operands to cast and operators
2024-05-28 00:12:32 +02:00
Sven Vogel
68622fbd00
added function parsing
2024-05-27 23:50:29 +02:00
Sven Vogel
da963e40b7
fixed: missing symbols in global_vars test
...
Removed lexer and parser files from compilation target
2024-05-27 21:39:24 +02:00
Sven Vogel
6197acf3b2
fixed: llvm dependencies in sdk
2024-05-27 21:22:06 +02:00
Sven Vogel
9e4b0a1000
added llvm17-dev as dependency to sdk 0.2.5
2024-05-27 19:53:22 +02:00
Sven Vogel
fb6f6e9777
finished global variable test
2024-05-27 18:17:15 +02:00
Sven Vogel
0fcb0d7af8
added test for llvm vars
2024-05-27 16:47:32 +02:00
Sven Vogel
e01d4c4808
added debug and error messages
2024-05-27 15:56:44 +02:00
Sven Vogel
92f4708ce7
feature: codegen
2024-05-27 13:05:56 +02:00
Sven Vogel
ad7355c94c
removed llvm tests
2024-05-27 01:24:37 +02:00
Sven Vogel
fd1cca119f
removed llvm test
2024-05-27 01:24:35 +02:00
Sven Vogel
f16e2cfbaa
fixed: mismatched pointer type
2024-05-26 22:52:48 +02:00
Sven Vogel
b91c277ac4
added global variables
2024-05-26 22:51:49 +02:00
Sven Vogel
e3f8e4b461
added .clang-format
2024-05-26 19:03:23 +02:00
Sven Vogel
78e6310b05
moved module generation to backend parser
2024-05-26 17:30:53 +02:00
Filleo
20d144acf5
Merge pull request #106 from Servostar/89-implement-structs-for-parser
...
89 implement structs for parser
2024-05-26 17:27:24 +02:00
Sven Vogel
d0cd74c697
modified codegen backend to use set module
2024-05-26 17:23:08 +02:00
servostar
932e1fa961
Merge pull request #105 from Servostar/89-implement-structs-for-parser
...
89 implement structs for parser
2024-05-26 15:14:00 +00:00
Sven Vogel
9a5f392b67
Merge branch '89-implement-structs-for-parser' of github.com:Servostar/gemstone into 89-implement-structs-for-parser
2024-05-26 17:12:23 +02:00
Sven Vogel
dcd309c7b4
added module type
2024-05-26 17:11:43 +02:00
Sven Vogel
614c917b81
removed redundant files
2024-05-26 17:07:39 +02:00
servostar
220b5d7dcb
Merge pull request #104 from Servostar/89-implement-structs-for-parser
...
89 implement structs for parser
2024-05-26 15:03:46 +00:00
Filleo
966bb3b189
Merge pull request #103 from Servostar/89-implement-structs-for-parser
...
added ast pointer to all structs
2024-05-26 17:02:57 +02:00
Felix Müller
b7c7fd040a
added ast pointer to all structs
...
removed StringLiteralType because of multiple definitions if used
2024-05-26 16:42:12 +02:00
Sven Vogel
8c17749923
refactored transmute rule and added bracketed expressions
2024-05-26 14:09:53 +02:00
servostar
e4f45677a3
Merge pull request #101 from Servostar/95-implement-bool-module
...
added bool definition
2024-05-25 15:02:52 +00:00
Sven Vogel
0aa62542b5
added bool definition
2024-05-25 17:02:17 +02:00
Sven Vogel
9a16546e07
added memory module and refactored filenames in stdlib
2024-05-25 16:38:26 +02:00
servostar
c3667474d7
Merge pull request #100 from Servostar/94-implement-io-module
...
94 implement io module
2024-05-25 11:55:46 +00:00
Sven Vogel
4c8e0992bc
added lib build to devkit
2024-05-25 13:54:21 +02:00
Sven Vogel
74ce05e2c6
added std lib build to check test
2024-05-25 13:52:59 +02:00
Sven Vogel
e11297ccfe
added io library
2024-05-25 13:50:21 +02:00
servostar
e934bdbda8
Merge pull request #99 from Servostar/98-implement-standard-type-definitons
...
added standard type definitions
2024-05-25 08:05:59 +00:00
Sven Vogel
ed008e0c7d
added standard type definitions
2024-05-25 09:59:38 +02:00
Sven Vogel
7705aea238
added header for semantic tree types
2024-05-23 21:54:37 +02:00
Sven Vogel
8603656e3e
added basic expression support
2024-05-22 20:27:40 +02:00
Sven Vogel
00089a4939
added error handling
2024-05-22 16:11:00 +02:00
Sven Vogel
3b78d117b5
added default values for composites
2024-05-21 15:55:22 +02:00
Sven Vogel
6967770d0e
added declarations
2024-05-21 14:36:37 +02:00
SirTalksalot75
fc80e23917
Merge pull request #71 from Servostar/41-add-parser-rules-for-casts
...
41 add parser rules for casts
2024-05-21 14:32:15 +02:00
SirTalksalot75
1d7fb31da5
Update CMakeLists.txt
...
changed yacc ->bison
2024-05-21 14:20:15 +02:00
Sven Vogel
fa32df1010
backend parses type and function declarations
2024-05-21 13:08:41 +02:00
SirTalksalot75
0e098db726
Update test_ast.py
2024-05-21 12:21:54 +02:00
SirTalksalot75
58f7170df6
changed lookuptable for casts in ast.c
2024-05-21 12:20:45 +02:00