Re: [go-nuts] GoAWK: an AWK interpreter written in Go

2018-11-17 Thread ktye78
That looks nice! I wonder if it makes sense, to expose more of the interpreter to go. E.g.: register a user function or add an action written in go. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving

Re: [go-nuts] go build for mips

2017-06-22 Thread ktye78
This can be related to issue #18162 If you compile a normal go program for mips32 with the current compiler and run it on hardware without FPU, this is the error message you see. The preferred solution is for the compiler to emmit soft float code. It has been implemented but did not make it into

Re: [go-nuts] Go support in MIPS platform

2017-02-11 Thread ktye78
Do you need gccgo, cgo or cross compiling? I don't know about that, but otherwise the default compiler should work for mipsle (32 bit little endian) "since" go 1.8. Without FPU however you will get "illegal instruction" when running the binary. There are 2 possibilities: Wait for vstefanovic t

[go-nuts] shiny: get mouse position relative to window

2017-01-14 Thread ktye78
How do I get the position for a mouse.Event in shiny using golang.org/x/mobile/event.mouse? The position returned is the global position on the screen, which changes if I move the window. The comments in https://github.com/golang/mobile/blob/master/event/mouse/mouse.go#L18 say it's: "// X and

[go-nuts] gomobile graphics without opengl

2016-07-24 Thread ktye78
All the examples for gomobile use opengl for graphics. Is it possible to manipulate go-images directly, like shiny can do? I'm comparing: https://github.com/golang/mobile/blob/master/example/basic/main.go https://github.com/golang/exp/blob/master/shiny/example/basic/main.go -- You received this