Core: Change lookup rules, 2x speedup

This commit is contained in:
Krzosa Karol
2023-04-20 22:29:31 +02:00
parent 7c69537283
commit fb3800a43a
5 changed files with 42 additions and 29 deletions

View File

@@ -1,5 +1,5 @@
/*@feature_idea: labeled block
/*@language_todo: labeled block
It acts just like a scope in C.
BUT it can be turned into a goto label by adding another semicolon
@@ -18,9 +18,11 @@ thing := 1
thing2 := thing
:goto_block: for
*/
/*
@language_todo: Bring back named loads
A :: #load "array.core"
@reproduction:
This kills the compiler due to referencing slice data
@@ -131,6 +133,7 @@ main :: (): int
target_color.a = 255/2
for !WindowShouldClose()
WinX = GetScreenWidth()
WinY = GetScreenHeight()
MouseX = GetMouseX()