Skip to content

Releases: goplus/gop

Release v0.9.6

02 Aug 11:52
Compare
Choose a tag to compare

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

31 Jul 16:33
Compare
Choose a tag to compare

new features:

  • allow goto() as a function

changes:

  • ci: use github workflows
  • add many testcases for gop/parser

Release v0.9.4

30 Jul 17:23
Compare
Choose a tag to compare

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

26 Jul 16:47
3d79da9
Compare
Choose a tag to compare

new features:

  • codeErrorTest: TestErrRecv, TestErrInitFunc, TestErrConst, TestErrNewVar, TestErrStructLit, TestErrArrayLit, TestErrSliceLit, TestErrSlice; TestErrIndex; TestErrIndexRef; TestErrStar, TestErrAssign, TestErrReturn, TestErrForRange, TestErrMemberRef

Release v0.9.2

26 Jul 15:29
Compare
Choose a tag to compare
  • Initial release version of new architecture.

Release v0.7.19

15 Mar 22:27
26c1e3a
Compare
Choose a tag to compare

Operators

Constants

Libraries

Release v0.7.18

04 Mar 04:06
6b6993f
Compare
Choose a tag to compare

Operators

Types

Commands

  • gop repl: import anytime for REPL bugfix (#666 #667)

Release v0.7.17

08 Jan 15:38
fc1987a
Compare
Choose a tag to compare

Operators

  • support inc/dec for BigInt/BigRat/BigFloat (#642).

Libraries

  • add standard lib: sort (#643).

Release v0.7.16

02 Jan 01:27
c8b0755
Compare
Choose a tag to compare

Operators

  • cmd/cl, bytecode: add builtinAddrOps for BigInt (#626).

Builtins

  • cmd/cl, bytecode: support close (#619).
  • cmd/cl: support recover (#629).

Commands

  • cmd/gop export fix #632: fixPkgString regexp add - and _ (#633).

Release v0.7.15

16 Nov 05:24
9f022c4
Compare
Choose a tag to compare

Types

  • find methods: support both (struct).method and (*struct).method (#622).
  • user-defined struct support embedded field (#625, #591).

Commands

  • cmd/gop: update build & install command (#623).