Open jkenda opened 7 months ago
tuple string is ptr int end struct name is ... end
enum token_type is .number .word .assign .function .is .end ... end
struct token is .type token_type .content string end struct node is .data int .next node ptr end
mem tokens is token 640_000 end (basic type of initialization) := [] tokens 0 ; token.type dup token_type.word ; := [] tokens 0 ; token.content dup "enum" ; drop (advanced type of initialization) tokens 0 ; ... token.type token_type.word token.content "enum"