Elliott Stoneham
Elliott Stoneham
The current interface implementation does not properly simulate the look-up required to implement Go methods (in the general case) so I have rewritten it to provide a model implementation: ```...
In testing https://gobyexample.com/sorting three type wrappers are not implemented, although Haxe typedefs are defined for `IntSlice`, `Float64Slice` and `StringSlice` (lines 48-50 of Sort.hx). ``` /Users/elliott/Documents/haxe/haxelib/go2hx/git/stdgo/sort/Sort.hx:434: characters 29-45 : Type not...
23 of the [gobyexample.com ](https://gobyexample.com) short programs fail with errors including `Method wrapper not found on class stdgo.internal.Macro`.
`brew bundle` seems to work, `make` fails: ``` % brew bundle ==> Tapping homebrew/bundle Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-bundle'... remote: Enumerating objects: 6720, done. remote: Counting objects: 100% (794/794), done. remote: Compressing...
Go test code: https://cs.opensource.google/go/go/+/refs/tags/go1.19.1:src/math/bits/bits_test.go;l=809 In good news, the tests run all all targets, in bad news they all fail around the same point. Results (from go2hxdoc testing): C++ ``` ===...
Would it be possible for all go2hx Go named types (be they implemented as classes or typedefs) to have a method called ".asInterface()" that delivers back the interface form of...
Looking at the example code we will be presenting to our users for them to emulate, some of it is quite off-putting in it's complexity. In particular `new Slice` requires...
### (1) Missing: ```go // Numbers fundamental to the encoding. const ( RuneError = '\uFFFD' // the "error" Rune or "Unicode replacement character" RuneSelf = 0x80 // characters below RuneSelf...
This issue springs from issue #120 Code: ```go package main import ( "bytes" "fmt" ) func main() { const japanese = "日本語日本語日本語日" var b bytes.Buffer for i := 0; b.Len()...
The go2hx compiler should generate the test code and a test entry point (if *_test.go files exist) for all imported packages, both for documentation purposes and testing. Go2hx users should...