Commit Graph

293 Commits

Author SHA1 Message Date
Sven Vogel e25fd4b559 added missing --help 2024-06-03 10:14:25 +02:00
Sven Vogel f16c10d94b fixed not passing sdk check 2024-06-03 00:31:22 +02:00
Sven Vogel 33988beb10 added proper handling of arguments 2024-06-03 00:24:17 +02:00
Felix Müller 70859e0a6a added default values to enums 2024-06-02 23:27:22 +02:00
Felix Müller 7922fbc8b7 added expressions and types 2024-06-02 23:26:51 +02:00
Sven Vogel fcbfb548c3 added doxygen and added new compiler module 2024-06-02 20:57:59 +02:00
Sven Vogel 01f5ef953d fixed devkit not cloning submodules 2024-06-01 14:52:59 +02:00
Sven Vogel 3a8796a462 fixed segfaults 2024-06-01 01:00:22 +02:00
Sven Vogel 8f24596779 fixed implementation vaults 2024-05-31 21:25:37 +02:00
Sven Vogel 76b011511a targets are now read in 2024-05-31 19:09:28 +02:00
Felix Müller 8e1a1664da added enum type values to set 2024-05-31 18:36:40 +02:00
Sven Vogel 68ca76cb45 added missing default target options 2024-05-31 16:57:25 +02:00
Sven Vogel 5fb10bca88 added option to compile for app or lib 2024-05-31 16:55:43 +02:00
Sven Vogel c527c99392 added license and description to project 2024-05-31 16:33:48 +02:00
Sven Vogel 0c722f3635 Merge remote-tracking branch 'origin/main' into 6-add-mechanism-to-read-and-globally-save-options
# Conflicts:
#	CMakeLists.txt
#	src/main.c
2024-05-31 16:21:25 +02:00
Felix Müller 5a06c17fa4 first implementation of the sematic analysis 2024-05-31 16:17:06 +02:00
Sven Vogel e69af85e37 added options 2024-05-31 16:15:59 +02:00
servostar dda040c996
Merge pull request #112 from Servostar/91-allow-to-parse-multiple-files
91 allow to parse multiple files
2024-05-31 16:14:36 +02:00
Sven Vogel e4c36f341b added target for tomlc99 2024-05-31 12:13:55 +02:00
Sven Vogel 347a2f0088 added git submodule tomlc99 2024-05-31 12:05:22 +02:00
Sven Vogel b9d8b23601 Merge remote-tracking branch 'origin/main' into 91-allow-to-parse-multiple-files
# Conflicts:
#	src/yacc/parser.y
2024-05-30 21:53:30 +02:00
Sven Vogel d60ebd6812 fixed: return 1 if no input files specified 2024-05-30 21:46:44 +02:00
Sven Vogel cb8c7647bf fixed: failing tests due to changes 2024-05-30 21:43:14 +02:00
Sven Vogel 472a4a623c feature: added error diagnostics and the ability to parse multiple files 2024-05-30 21:06:03 +02:00
Filleo 0edf2f7b17
Merge pull request #110 from Servostar/89-implement-structs-for-parser
fixed: various implementation faults
2024-05-29 21:29:24 +02:00
Sven Vogel 2ba48e904e Merge remote-tracking branch 'origin/89-implement-structs-for-parser' into 89-implement-structs-for-parser 2024-05-29 21:24:56 +02:00
Sven Vogel 875574eb69 fixed: added type to expressions 2024-05-29 21:24:17 +02:00
Sven Vogel 8494df56cd feature: added name to function 2024-05-29 21:21:03 +02:00
servostar 90bb76a37b
Merge pull request #102 from Servostar/92-implement-parenthesis-in-expressions
refactored transmute rule and added bracketed expressions
2024-05-28 19:18:26 +02:00
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 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 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
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 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
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
Sven Vogel 7705aea238 added header for semantic tree types 2024-05-23 21:54: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
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
servostar bebeed9359
Merge pull request #87 from Servostar/86-implement-hashmap
86 implement hashmap
2024-05-20 11:43:40 +00:00
Sven Vogel e433421626 fixed hashtable 2024-05-18 14:05:12 +02:00
Sven Vogel 8894c6f842 fixed docker builld script 2024-05-18 12:52:00 +02:00
Sven Vogel 858a6a3c4e transioned to glib 2024-05-18 12:25:13 +02:00
Sven Vogel 330ffc3b2f initialized git submodule 2024-05-17 16:50:04 +02:00