start moving numbers to oop

This commit is contained in:
2024-07-09 14:05:21 +01:00
parent 3761070e82
commit 7c23db80d4
11 changed files with 333 additions and 242 deletions

View File

@@ -2,8 +2,6 @@ package main
func typeof(val any) string {
switch x := val.(type) {
case number:
return "number"
case nil:
return "null"
case bool: