Commit Graph

156 Commits

Author SHA1 Message Date
SirTalksalot75 a85558e118
Update main.c
changed close_file Function
changed ERROR to PANIC
2024-04-22 14:01:18 +02:00
SirTalksalot75 05d603f7ac
Update main.c
added Function for file closing
2024-04-22 13:41:37 +02:00
Sven Vogel ebb29807c8 bumped SDK version to 0.2.1 2024-04-22 13:31:20 +02:00
Sven Vogel aa7c62f021 Devkit now pulls source from main branch of the repository
Added git to SDK
Bumped version from 0.2.0 to 0.2.1
2024-04-22 13:15:33 +02:00
SirTalksalot75 4976aeb22f
Update main.c
fixed typo
2024-04-22 12:57:49 +02:00
SirTalksalot75 6d249dd9ea
Update main.c
deleted fclose()
2024-04-22 12:54:20 +02:00
SirTalksalot75 6fca12df39
modified main.c
-added Error-message from Logging API.
-changed exit and moved after yyparse()
-added extern for file name
todo: make file name user input variable.
2024-04-22 12:53:48 +02:00
Filleo c38abad400
Merge pull request #24 from Servostar/21-add-debug-print-into-tokenizer
21 add debug print into tokenizer
2024-04-22 12:29:43 +02:00
SirTalksalot75 1cfe9485e9
added case for missing input of file to main.c 2024-04-22 11:51:27 +02:00
Felix Müller cf810ca375 removed spaces 2024-04-22 11:45:50 +02:00
Felix Müller a0a91d6c78 added numbers to Ident token 2024-04-22 11:11:02 +02:00
Felix Müller 853bf09c96 changed Keyword for unsigned
added debug message for lexer
2024-04-22 10:43:33 +02:00
SirTalksalot75 e90cd80fbe
added prototype for File-reading to main.c 2024-04-21 22:48:29 +02:00
servostar d6eaf6debf
Merge pull request #19 from Servostar/18-write-new-sdk-based-on-alpine-to-run-newer-gcc-version-114
18 write new sdk based on alpine to run newer gcc version 114
2024-04-17 14:16:49 +00:00
Sven Vogel f61317b123 removed unecessary header from log.h 2024-04-17 16:06:53 +02:00
Sven Vogel 82f576adf8 adapted docker files of SDK and DEVKIT to use alpine instead of alma 2024-04-17 16:06:23 +02:00
Filleo 30ebbf51fa
Merge pull request #15 from Servostar/5-create-tokenizer
5 create tokenizer
2024-04-17 15:23:47 +02:00
Filleo 5a519ab8a7
Merge pull request #16 from Servostar/11-make-yyerror-use-error
added printing of the string of `yyerror` with `ERROR`
2024-04-17 15:23:30 +02:00
servostar 159ab707fe
Merge pull request #14 from Servostar/13-fix-log-macro
13 fix log macro
2024-04-17 13:22:22 +00:00
Felix Müller 1e33cc7965 added printing of the string of `yyerror` with `ERROR` 2024-04-17 15:03:21 +02:00
Felix Müller e8bfc348be removed sign in number tokenizer
pass floats and integer as strings
2024-04-17 09:12:29 +02:00
Felix Müller 7e06e5ade7 Merge branch '5-create-tokenizer' of https://github.com/Servostar/gemstone into 5-create-tokenizer 2024-04-16 19:58:02 +02:00
Felix Müller 74befb4edd added signs to integer
removed linebrakes
added floats as "real"
changed Keyword for single symbol Operators
2024-04-16 19:54:09 +02:00
Filleo c18131fa90
Merge branch 'main' into 5-create-tokenizer 2024-04-15 22:22:57 +02:00
Felix Müller 0740dcc237 deleted test code and files 2024-04-15 22:11:20 +02:00
Felix Müller 866d3d03c1 forgor one file 2024-04-15 22:04:21 +02:00
Felix Müller d9f959f400 completed all keywords and symbols in base language.
created keywords for strings and multiline strings.
2024-04-15 22:02:53 +02:00
Felix Müller 59da185baf all Keywords from primitives til modules 2024-04-15 21:12:17 +02:00
Felix Müller 46de25f8ce first batch of keywords and symbols 2024-04-15 20:36:13 +02:00
Sven Vogel 9340812a49 fixed windows path separator 2024-04-15 10:26:15 +02:00
Sven Vogel 2b46c9e3ab added custom define for macro `__FILE_NAME__` for non supporting compilers 2024-04-14 17:09:28 +02:00
servostar 8bd4898440
Merge pull request #12 from Servostar/8-add-github-action-for-code-check
8 add GitHub action for code check (#12)
reviewed by @flixm16 @SirTalksalot75
2024-04-14 13:54:33 +00:00
servostar 9c10626514
Merge pull request #7 from Servostar/3-add-logging-api
3 add logging api (#7)
reviewed by @flixm16 and @SirTalksalot75
2024-04-14 13:52:52 +00:00
Sven Vogel 81d0c6b48e added target for code checking in CMakeLists.txt
new target "check" uses same options as debug but will fail on warnings
2024-04-12 23:06:10 +02:00
Sven Vogel 376837d37c fixed comment typ in lexer 2024-04-12 22:55:03 +02:00
Sven Vogel b0ecb5d459 disable generation of unput() and input() in lexer to avoid code check fail 2024-04-12 22:52:32 +02:00
Sven Vogel 98c69026ba fix intentional typo in main.c 2024-04-12 22:51:56 +02:00
Sven Vogel 0079de6faf added compilation error for testing action 2024-04-12 18:59:35 +02:00
Sven Vogel 0be5099c77 fixed wrong job name 2024-04-12 18:54:20 +02:00
Sven Vogel 136c74744b added build-check-sdk workflow 2024-04-12 18:52:31 +02:00
Sven Vogel 95f6b4ddc1 fixed warnings in main.c regarding whiteapace and declaration of main 2024-04-12 18:20:18 +02:00
Sven Vogel 488acc9b1f removed macro for max backtrace frames 2024-04-12 17:37:48 +02:00
Sven Vogel c1d19ed0a8 added handling of registering a NULL stream for logging 2024-04-12 17:36:13 +02:00
Sven Vogel 949bbb185a added documentation to sys/log.h 2024-04-12 17:34:38 +02:00
Sven Vogel 667f985d30 added documentation to main.c 2024-04-12 17:29:39 +02:00
Sven Vogel 4f30e6308d added function for notifying about exit 2024-04-12 17:28:20 +02:00
Sven Vogel f90ee70a8d added sys/log module and setup function 2024-04-12 17:24:12 +02:00
servostar 73bfbd15f9
Merge pull request #2 from Servostar/1-decide-on-license
added GPLv2.0 license
2024-04-10 11:45:41 +00:00
Sven Vogel 038b3817b2 added GPLv2.0 license 2024-04-10 13:44:50 +02:00
Sven Vogel d25e12a61d added extra compilation flags to targets 2024-02-22 18:05:58 +01:00