Make syntax more readable

This commit is contained in:
Stone_Red
2026-03-04 14:04:00 +01:00
parent 11200cbff8
commit 9d43f1373f
12 changed files with 216 additions and 98 deletions
@@ -12,11 +12,11 @@ public class CodeFlowTests
{
List<string> lines =
[
"cal yes",
"fnc yes",
"!<result = 1",
"ret",
">result"
"call yes",
"func yes:",
"global result = 1",
"return",
"${result}"
];
YesNtAssert.IsLastLineEqual(lines, "1");
}
@@ -26,12 +26,12 @@ public class CodeFlowTests
{
List<string> lines =
[
"<result = 1",
"jmp yes",
"<result = 0",
"lbl yes",
">result"
"let result = 1",
"goto yes",
"let result = 0",
"label yes:",
"${result}"
];
YesNtAssert.IsLastLineEqual(lines, "1");
}
}
}