Implemented the following attributes:

* String.length
* String.asUpper
* String.asLower
* array.length
* array.pushBack(x)
* array.popBack()

The remaining attributes are listed in 'toy_attributes.h'
This commit is contained in:
2026-04-24 17:31:17 +10:00
parent b589392b9e
commit 88e9794952
10 changed files with 189 additions and 45 deletions
+5 -9
View File
@@ -1,10 +1,6 @@
print "hello world";
print "hello world";
print "hello world";
{
print "hello world";
{
print "hello world";
}
}
var array = [1,2,3];
array.pushBack(4);
print array.popBack();