Add initial header and source files for lexer and tests

This commit is contained in:
Kyler Olsen 2025-10-27 17:33:19 -06:00
parent 7d6f56afdb
commit 45b8168e24
4 changed files with 49 additions and 0 deletions

10
SLS_C/include/sls/lexer.h Normal file
View File

@ -0,0 +1,10 @@
// Kyler Olsen
// YREA SLS
// Lexer Header
// October 2025
#ifndef SLS_LEXER_H
#define SLS_LEXER_H
#endif // SLS_LEXER_H

View File

@ -0,0 +1,22 @@
// Kyler Olsen
// YREA SLS
// Tests Header
// October 2025
#ifndef SLS_TESTS_H
#define SLS_TESTS_H
#include <stdint.h>
typedef struct {
const char *name;
uint8_t success;
} TestResult;
typedef struct {
const char *section;
size_t tests;
TestResult* tests;
} TestsReport;
#endif // SLS_TESTS_H

11
SLS_C/src/main.c Normal file
View File

@ -0,0 +1,11 @@
// Kyler Olsen
// YREA SLS
// Main File
// October 2025
#include <stdio.h>
int main(void) {
printf("Hello, world!");
return 0;
}

View File

@ -0,0 +1,6 @@
// Kyler Olsen
// YREA SLS
// Lexer Tests
// October 2025