Data update

This commit is contained in:
Ingy döt Net 2023-12-16 21:33:55 -08:00
parent 35bcdeebf8
commit 74c69a0df6
2427 changed files with 31826 additions and 3468 deletions

View file

@ -1,4 +1,4 @@
/* hostname.wren */
/* Hostname.wren */
class Host {
foreign static name() // the code for this is provided by Go
}

View file

@ -1,4 +1,4 @@
/* hostname.go */
/* Hostname.go */
package main
import (
@ -15,7 +15,7 @@ func hostname(vm *wren.VM, parameters []any) (any, error) {
func main() {
vm := wren.NewVM()
fileName := "hostname.wren"
fileName := "Hostname.wren"
methodMap := wren.MethodMap{"static name()": hostname}
classMap := wren.ClassMap{"Host": wren.NewClass(nil, nil, methodMap)}
module := wren.NewModule(classMap)