add function assignment

This commit is contained in:
William Bell
2025-10-21 20:34:33 +01:00
parent 70ba81bebc
commit c8394228b3
14 changed files with 139 additions and 52 deletions

View File

@@ -0,0 +1 @@
term.log(()=10)

1
tests/env.ar Normal file
View File

@@ -0,0 +1 @@
term.log("hello,", env.USER+'.', 'how is', env.XDG_SESSION_TYPE+'?')

View File

@@ -1,4 +1,4 @@
term.log(global."hello world")
term.log(global)
let i = 1e8
while (i) do
i=i-1

View File

@@ -0,0 +1,6 @@
let i = 10
let x = 1
while (i) do
x = x * 1e100000000
term.log(i=i-1)
term.log(x)