What's Changed
documents:
- Go+ Mini Spec by @xushiwei in #1943 #1944 #1945 #1946 #1947 #1948 #1950 #1952 #1955 #1956 #1968 #1969 #1970 #1971 #1972 #1974 #1976 #1977 #1980 #1981 #1982 #1983 #1984 #1985 #1986 #1987 #1989 #1992 #1993 #1994 #1995 #1996 #1997 #1999 #2001 #2004 #2006 #2013 #2017 #2018 #2019 #2021 #2022 #2024 #2026 #2027 #2028 #2031 #2033 #2034 #2035 #2037 #2038 #2039 #2040 #2041 #2042 #2043 #2044 #2045 #2046 #2047 #2048 #2049 #2050 #2051 #2052 #2053 #2054 #2058 #2059 #2062 #2064 #2067 #2082 #2083 #2084
- Go+ Full Spec by @xushiwei in #1957
- How Go+ simplifies Go's expressions by @xushiwei in #1941 #1942 #1953 #1957 #1973 #2036
features:
- number with unit (#2000) by @xushiwei in #2007 #2008 #2010 #2063
- string/stringslice: Capitalize by @xushiwei in #2073 #2074 #2075 #2076 #2077
- compileSendStmt: support slice append (#2107) by @xushiwei in #2108
- select Go compiler in go.mod by @xushiwei in #1917
- gop: support -tags by @visualfc in #2071
- gop mod init -llgo: support AddRequire llgo by @xushiwei in #1926
- gop/format/formatutil: RearrangeFuncs if necessary by @xushiwei in #2070
- llgo: hello world by @xushiwei in #1876
- llgo: replace c2go => llgo by @xushiwei in #1877
- llgo: interface demo (implement error interface) by @xushiwei in #1889
- llgo: goroutine by @xushiwei in #1896
- llgo: defer by @xushiwei in #1898
- llgo: qsort by @xushiwei in #1901
- llgo: c/sqlite by @xushiwei in #1892
- llgo: c string literal by @xushiwei in #1905
- llgo: tetris by @xushiwei in #1906 #1907 #1908
- llgo: reflect by @xushiwei in #1909
- doc: calling C from Go+ by @xushiwei in #1880
- doc: support for C/C++ and Python by @xushiwei in #1925
- doc: c style string by @xushiwei in #1913
- llgo: c hello by @xushiwei in #1924
- llgo: c++ hello by @xushiwei in #1923
- cl: support python; TestPyCall by @xushiwei in #1878
- cl: PYSTRING: py"..." by @xushiwei in #1911
- pydemo: matrix by @xushiwei in #1879
- pyprint / pytensor by @xushiwei in #1902
- pymax by @xushiwei in #1903
- pyhello by @xushiwei in #1918
- demo: _tinygo by @xushiwei in #1921
- demo: rpncalc: Reverse Polish Notation Calc by @xushiwei in #2094
- demo: pseudo code by @xushiwei in #2095 #2098 #2103 #2104 #2105 #2106 #2109
changes:
- env: update MainVersion to 1.3 by @xushiwei in #1928 #1929
- ast: fix (*ast.File).End check shadow no entry by @visualfc in #1860
- scanner.New & demo by @xushiwei in #2093
- cltest: by @xushiwei in #1884
- cltest.FromDir by @xushiwei in #1886
- cltest: spx by @xushiwei in #1887
- classfile: allow a work class to specify its project class by @xushiwei in #2061
- parser parseBranchStmt: allow goto as command name by @xushiwei in #2069
- parser: parser doc by @xushiwei in #2100
- cl: _testgop by @xushiwei in #1888
- cl: TestEmbedField by @visualfc in #2014
- cl: update gogen for overload check untyped args by @visualfc in #2030
- cl: update gogen for fix uptyped check by @visualfc in #2066
- cl: fix slicelit for assignStmt/returnStmt by @visualfc in #1959
- cl: fix compositeLit for assignStmt by @visualfc in #1960
- cl: fix compileCompositeLitEx struct for sliceLit/mapLit by @visualfc in #1961
- cl: fix compileCallArgs recover error for overloads by @visualfc in #1991
- cl.GetFileClassType: fix isProj must check name is main by @visualfc in #1862
- cl: preloadFile ast.OverloadFuncDecl handle error by @visualfc in #1865
- cl: record def for ast.OverloadFuncDecl by @visualfc in #1866
- cl: fix record ast.OverloadFuncDecl has funcLit only by @visualfc in #1869
- cl: Go+ overload func support pos by @visualfc in #1868
- cl: support declared function in classfile's overload decl by @luoliwoshang in #1875
- x/typesutil: modify info.Overloads to point to the overload decl by @luoliwoshang in #1872
- x/langserver: gengo use cache by @visualfc in #1861
- x/format: funcLitToLambdaExpr by @visualfc in #2086
- x/format: fmt.println => echo by @visualfc in #2088
- x/format: funclit to lambda doc by @visualfc in #2087
- x/format: mv funcLitToLambdaExpr => format.go by @xushiwei in #2089
- x/format: println => echo in README.md by @xushiwei in #2090
- testdata => demo by @xushiwei in #1920
- chore: fix function names by @writegr in #1863
- cmd/chore by @xushiwei in #1885
- mv .go => tool/.go by @xushiwei in #2080
deps:
- build(deps): bump github.com/fsnotify/fsnotify 1.8.0 by @dependabot in #2002
- build(deps): bump github.com/goplus/llgo 0.9.9 by @dependabot in #2056
- build(deps): bump github.com/goplus/gogen 1.16.6 by @dependabot in #2085
- build(deps): bump github.com/goplus/mod 0.13.17 by @dependabot in #2097
ci & tools:
- ci by @xushiwei in #1871 #1936
- ci: go1.19 by @xushiwei in #1883
- ci: go1.22 by @xushiwei in #2078
- ci: bump samuelmeuli/action-snapcraft from 2 to 3 by @dependabot in #2015
- codecov: bump codecov/codecov-action from 4 to 5 by @dependabot in #2016
- codecov: .github/codecov.yml by @xushiwei in #2079
- test: fix cmd/TestInstallInNonGitRepo/install_with_VERSION_file by @aofei in #1930
- test by @xushiwei in #1931
- test: make cmd/TestInstallInNonGitRepo not affected by actual major.minor versions by @aofei in #1937
- test: make cmd/TestInstallInNonGitRepo not affected by actual major.minor by @xushiwei in #1938
- goreleaser: remove gopfmt by @xushiwei in #1932 #1933
- goreleaser: bump .goreleaser.yaml to v2 by @aofei in #1935
- goreleaser: bump goreleaser-action from 5 to 6 by @dependabot in #1895
- docker: remove gopfmt from the baked Docker image by @aofei in #1934
- docker: extract artifacts from tarball when using GoReleaser by @aofei in #2032
New Contributors
Full Changelog: v1.2.6...v1.3.0