changed assignment parser from var = statement to statement = statement

left side of assignments can now be various different things instead of just variables. any statement that returns a reference can be used to assign to the value behind that reference. variables are automatically referenced, so the '&' can be omitted. if the variable contains a reference and that reference should be used, dereference it with *varname instead of just varname.
This commit is contained in:
mark
2023-05-12 00:44:47 +02:00
parent 6f31abd5cc
commit bba48b311f
18 changed files with 348 additions and 204 deletions

View File

@@ -12,6 +12,6 @@ sleep(0.5)
http_get("https:\//github.com/").assume_no_enum()
println("got github start page as html")
// t.await()
t.await()
http_get("not a url").debug()