redesigned how file is tokenised into string, keyword, identifier, bracket and character

added support for GOTOs and removed object recursive calls
This commit is contained in:
2026-05-18 13:22:29 +01:00
parent d4947a4434
commit 051bfe46e4
8 changed files with 197 additions and 123 deletions
+3 -3
View File
@@ -2,9 +2,9 @@
"tim": {
"name": "Timothy Sharpshooter",
"gender": "Male",
"skin_color": "",
"eye_color": "",
"hair_color": "",
"skin_color": [0,0,0],
"eye_color": [0,0,0],
"hair_color": [0,0,0],
"pronoun_subject": "He",
"pronoun_object": "Him",
"pronoun_deppos": "His",
+2 -13
View File
@@ -1,25 +1,14 @@
@tim says "hello world, it's a good day"
@tim change name "Timothy Fineshooter"
@tim change boop "Timothy Fineshooter"
@tim to fr
label:
choice "choice numero uno" {
@tim animate wave
@tim says "super sad"
choice "choice numero uno" {
@tim animate wave
@tim says "super sad"
}
or "choice numero duo" {
@tim says "super unsad"
}
or "choice numero tres" {
@tim says "hola mi amigos"
}
}
or "choice numero duo" {
@tim says "super unsad"
}
or "choice numero tres" {
@tim says "hola mi amigos"
goto label
}
END
BIN
View File
Binary file not shown.