reorganized build-ins and implement a circular queue as an example

This commit is contained in:
cozis
2022-08-18 19:01:26 +02:00
parent b5b3a3e315
commit 782985e8b7
36 changed files with 486 additions and 259 deletions
+9 -3
View File
@@ -1,4 +1,10 @@
vars, err = import("examples/imported.noja");
print("vars=[", vars, "]\n");
print("err=[", err, "]\n");
vars, err = import("imported.noja");
if vars == none: {
print("L'import è fallito!! (", err, ")\n");
return none;
}
me = {name: vars.myName, age: vars.myAge};
print(me, "\n");