-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
contents
broken for Go in latest released ksc v0.8
#528
Comments
Have you tried the current unstable version of the compiler? |
golang support is still in relatively stages, even as of now in unstable version. Latest CI report shows that it passes only 41% of tests, which is actually pretty bad, although your particular use case now passes (see Unfortunately, there's been pretty quiet in golang compiler's land lately: last few updates to #146 were done by me, and I'm probably the person least interested in golang, as I don't use it in my everyday's life, I don't have any experience with it, etc. @lannybroo, if you feeling like you could contribute something to golang support, you'd be most welcome. |
Thanks for the link to the CI report -- I had not realized that go is essentially not ready yet. I'd love to contribute but also don't have a good background in go (more interest in Construct, however). Perhaps the right approach for golang is to not include go in the |
There is no Also, note that, unfortunately, @arekbulski stopped working on Construct: #377 (comment), so most likely Construct target will be phased out in some time :( |
Ah, I interpreted |
Closing this issue. I don't know that there are actual actions to take (other than perhaps not including unsupported/incomplete languages when someone runs |
KS is still an project under development, and there's no clear distinction between "unsupported/incomplete" vs "supported/complete". We can probably mark up some languages as "officially good" if they pass 100% of the tests, but then probably only Java & Ruby will be passing up to that mark — all other languages will have some percentages lower than that. This might seem terrible, but in reality if test pass rate is 85-90%, it will be still useful for some (or even many) people. Even at 41%, I know that some people have reported some success with go target. |
Trying to compile a
.ksy
that has a fixedcontents
field usingksc --target all
orksc --target go
fails due to some issue with the go compiler.Example
broken_go.ksy
:Compiler output:
The text was updated successfully, but these errors were encountered: