From 45b8168e24fbad6327b47fd41c7b9c280924d80e Mon Sep 17 00:00:00 2001 From: Kyler Olsen Date: Mon, 27 Oct 2025 17:33:19 -0600 Subject: [PATCH] Add initial header and source files for lexer and tests --- SLS_C/include/sls/lexer.h | 10 ++++++++++ SLS_C/include/tests/tests.h | 22 ++++++++++++++++++++++ SLS_C/src/main.c | 11 +++++++++++ SLS_C/tests/lexer_tests.c | 6 ++++++ 4 files changed, 49 insertions(+) create mode 100644 SLS_C/include/sls/lexer.h create mode 100644 SLS_C/include/tests/tests.h create mode 100644 SLS_C/src/main.c create mode 100644 SLS_C/tests/lexer_tests.c diff --git a/SLS_C/include/sls/lexer.h b/SLS_C/include/sls/lexer.h new file mode 100644 index 0000000..02abb63 --- /dev/null +++ b/SLS_C/include/sls/lexer.h @@ -0,0 +1,10 @@ +// Kyler Olsen +// YREA SLS +// Lexer Header +// October 2025 + +#ifndef SLS_LEXER_H +#define SLS_LEXER_H + + +#endif // SLS_LEXER_H diff --git a/SLS_C/include/tests/tests.h b/SLS_C/include/tests/tests.h new file mode 100644 index 0000000..a9933a9 --- /dev/null +++ b/SLS_C/include/tests/tests.h @@ -0,0 +1,22 @@ +// Kyler Olsen +// YREA SLS +// Tests Header +// October 2025 + +#ifndef SLS_TESTS_H +#define SLS_TESTS_H + +#include + +typedef struct { + const char *name; + uint8_t success; +} TestResult; + +typedef struct { + const char *section; + size_t tests; + TestResult* tests; +} TestsReport; + +#endif // SLS_TESTS_H diff --git a/SLS_C/src/main.c b/SLS_C/src/main.c new file mode 100644 index 0000000..367b10d --- /dev/null +++ b/SLS_C/src/main.c @@ -0,0 +1,11 @@ +// Kyler Olsen +// YREA SLS +// Main File +// October 2025 + +#include + +int main(void) { + printf("Hello, world!"); + return 0; +} diff --git a/SLS_C/tests/lexer_tests.c b/SLS_C/tests/lexer_tests.c new file mode 100644 index 0000000..af92fce --- /dev/null +++ b/SLS_C/tests/lexer_tests.c @@ -0,0 +1,6 @@ +// Kyler Olsen +// YREA SLS +// Lexer Tests +// October 2025 + +