Add string accessors, working towards first program

This commit is contained in:
Krzosa Karol
2022-06-03 21:59:51 +02:00
parent 827cad0127
commit 5e798bd179
8 changed files with 191 additions and 115 deletions

11
program.kl Normal file
View File

@@ -0,0 +1,11 @@
Lex_Stream :: struct
stream: *U8
end : *U8
main :: ()
string_to_lex := "Identifier 2425525 Not_Number"
for i := 0, i < string_to_lex.len, i+=1
string_to_lex.str[0] = 64