Add initial header and source files for lexer and tests
This commit is contained in:
parent
7d6f56afdb
commit
45b8168e24
|
|
@ -0,0 +1,10 @@
|
|||
// Kyler Olsen
|
||||
// YREA SLS
|
||||
// Lexer Header
|
||||
// October 2025
|
||||
|
||||
#ifndef SLS_LEXER_H
|
||||
#define SLS_LEXER_H
|
||||
|
||||
|
||||
#endif // SLS_LEXER_H
|
||||
|
|
@ -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
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
// Kyler Olsen
|
||||
// YREA SLS
|
||||
// Main File
|
||||
// October 2025
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello, world!");
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
// Kyler Olsen
|
||||
// YREA SLS
|
||||
// Lexer Tests
|
||||
// October 2025
|
||||
|
||||
|
||||
Loading…
Reference in New Issue