Releases: goplus/gop
Releases · goplus/gop
Release v0.9.6
new features:
- gop fmt
- gop go: support
-debug
switch - gop run: support args
- gop run go files (means we don't compile them but check dependencies because they may import Go+ packages)
- support external types (import packages and use types defined in them)
- binary operators: LAnd(&&), LOr(||) and LNot(!)
- member access: support embedded fields of struct
changes:
- support codecov (coverage report)
- rewrite README.md
Release v0.9.5
new features:
- allow goto() as a function
changes:
- ci: use github workflows
- add many testcases for gop/parser
Release v0.9.4
new features:
type student struct {
name string
score int
}
a := [student{"du", 84}, student{"wang", 70}, student{"ken", 100}]
hasFullMark := {for x <- a, x.score == 100}
println("is any student full mark:", hasFullMark)
hasFailed := {for x <- a, x.score < 60}
println("is any student failed:", hasFailed)
Release v0.9.3
new features:
- codeErrorTest: TestErrRecv, TestErrInitFunc, TestErrConst, TestErrNewVar, TestErrStructLit, TestErrArrayLit, TestErrSliceLit, TestErrSlice; TestErrIndex; TestErrIndexRef; TestErrStar, TestErrAssign, TestErrReturn, TestErrForRange, TestErrMemberRef
Release v0.9.2
- Initial release version of new architecture.