Core: match sizeof etc. syntax with C, Core RTS: Beautifying + animations

This commit is contained in:
Krzosa Karol
2023-04-19 12:50:58 +02:00
parent 891221441e
commit 87657a99a6
20 changed files with 131 additions and 56 deletions

View File

@@ -192,16 +192,16 @@ void core__stringify(Ast *ast) {
} break;
case AST_TYPE_OF:
gen("TypeOf");
gen("typeof");
goto builtin;
case AST_LENGTH_OF:
gen("LengthOf");
goto builtin;
case AST_ALIGN_OF:
gen("AlignOf");
gen("alignof");
goto builtin;
case AST_SIZE_OF:
gen("SizeOf");
gen("sizeof");
goto builtin;
case AST_RUNTIME_ASSERT:
gen("Assert");