Lots of changes and too much dragging my feet on this. But I think this is going in the right direction now.

This commit is contained in:
2025-06-24 23:48:26 -05:00
parent ebfd7cf94c
commit b759589e84
16 changed files with 320 additions and 51 deletions
+8
View File
@@ -5,12 +5,17 @@
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include "opcodes.h"
#include "keywords.h"
typedef enum {
Empty,
String,
Number,
Symbol,
Register,
Mnemonic,
Keyword,
LineEnd = '\n',
Colon = ':',
Comma = ',',
@@ -32,6 +37,9 @@ typedef struct _token {
char Operator[8];
char* String;
int Number;
Mnemonics Mnemonic;
Registers Register;
Keywords Keyword;
} Value;
int LineNumber;
int ColumnNumber;