goplus

goplus·goplus.xgo

The XGo Programming Language

The XGo programming language is designed for engineering, STEM education, and data science. - For engineering: working in the simplest language that can be mastered by children. - For STEM education: studying an engineering language that can be used for work in the future. - For data science: communicating with engineers in the same language.

winget install --id goplus.xgo --exact --source winget

Latest 1.8.0·November 20, 2026

Release Notes

What's Changed

feature auto closure: • autoclosure (#2818) by @xushiwei in https://github.com/goplus/xgo/pull/2826 • cl:autoclosure errmsg by @xushiwei in https://github.com/goplus/xgo/pull/2827

feature auto lambda: • parser,printer:Auto Lambda by @xushiwei in https://github.com/goplus/xgo/pull/2829 • cl,build:Auto Lambda by @xushiwei in https://github.com/goplus/xgo/pull/2830 • ast:rename LambdaExpr => ArrowExpr, LambdaExpr2 => LambdaExpr by @xushiwei in https://github.com/goplus/xgo/pull/2831 • parser:autolambda bugfix by @xushiwei in https://github.com/goplus/xgo/pull/2833 • format:support loading autolambda info from gox.mod by @xushiwei in https://github.com/goplus/xgo/pull/2836 • cl:compileLambdaExpr with gogen.AutoLambdaCategory; gogen update from upstream by @xushiwei in https://github.com/goplus/xgo/pull/2839

feature for loop: • cl:mv for range / for phrase test cases to cl/_testxgo by @xushiwei in https://github.com/goplus/xgo/pull/2838 • cl:rm support for obj.XGo_Enum(func(...)) by @xushiwei in https://github.com/goplus/xgo/pull/2842 • doc/for.md:The for Statement by @xushiwei in https://github.com/goplus/xgo/pull/2843 • doc/docs.md:for loop by @xushiwei in https://github.com/goplus/xgo/pull/2844 • fix(printer):handle for-phrase statements before expressions by @aofei in https://github.com/goplus/xgo/pull/2898

feature class fields • parser,cl:mv 'multiple top-level var declarations in classfile' error from parser to cl by @xushiwei in https://github.com/goplus/xgo/pull/2822 • parser,cl:var declarations in classfile must be declared before functions by @xushiwei in https://github.com/goplus/xgo/pull/2823 • cl:class fields declaration must be declared before functions by @xushiwei in https://github.com/goplus/xgo/pull/2824 • parser:comments for fnExists & classFields by @xushiwei in https://github.com/goplus/xgo/pull/2825

changes: • go 1.25; mod:golang.org/x/net v0.57.0 by @xushiwei in https://github.com/goplus/xgo/pull/2832 • xgo fmt:ignore Go files by default; chore: xgo fmt XGo source files by @xushiwei in https://github.com/goplus/xgo/pull/2837 • test for Go1.27 by @visualfc in https://github.com/goplus/xgo/pull/2851 • mod:github.com/goplus/lib v0.5.1 by @xushiwei in https://github.com/goplus/xgo/pull/2853 • mod:github.com/goplus/gogen v1.24.1 by @xushiwei in https://github.com/goplus/xgo/pull/2857 • mod:github.com/goplus/gogen v1.24.7; github.com/goplus/lib v0.5.3 by @xushiwei in https://github.com/goplus/xgo/pull/2862 • mod:github.com/goplus/lib v0.5.4 by @xushiwei in https://github.com/goplus/xgo/pull/2863 • mod:upgrade gogen to v1.24.8 by @go-wyvern in https://github.com/goplus/xgo/pull/2864 • tool:fix nil pointer panic in checkGopDeps when compilation fails (#2861) by @fennoai[bot] in https://github.com/goplus/xgo/pull/2865 • tool:preserve classfile requires in xgo mod tidy (#2175) by @fennoai[bot] in https://github.com/goplus/xgo/pull/2879 • mod:github.com/goplus/gogen v1.26.3 by @xushiwei in https://github.com/goplus/xgo/pull/2885 • cmd:use go1.27 by @xushiwei in https://github.com/goplus/xgo/pull/2893 • fix(cl):skip absent expression type information by @aofei in https://github.com/goplus/xgo/pull/2903 • fix(parser):preserve unnamed generic tuple fields by @aofei in https://github.com/goplus/xgo/pull/2901 • docs:rename CLAUDE.md to AGENTS.md by @aofei in https://github.com/goplus/xgo/pull/2900 • fix(cl):preserve class types after initializer errors by @aofei in https://github.com/goplus/xgo/pull/2897 • fix(cl):report positioned errors for recursive type aliases by @aofei in https://github.com/goplus/xgo/pull/2902 • docs:document shared XGo tooling conventions by @aofei in https://github.com/goplus/xgo/pull/2899 • fix(cl):recognize aliases in decorator callbacks by @aofei in https://github.com/goplus/xgo/pull/2905 • release:use go1.27 by @xushiwei in https://github.com/goplus/xgo/pull/2907 • retract v1.7.6 by @xushiwei in https://github.com/goplus/xgo/pull/2908 • fix(cl):support parenthesized assignment targets by @aofei in https://github.com/goplus/xgo/pull/2912

deps: • build(deps):bump github.com/qiniu/x 1.19.3 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2886 • build(deps):bump github.com/goplus/mod 0.22.1 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2868 • build(deps):bump github.com/goplus/lib 0.7.1 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2891 • build(deps):bump github.com/goplus/gogen 1.26.6 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2892 • build(deps):bump github.com/goplus/cobra 1.10.8 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2855 • build(deps):bump the go-deps group across 2 directories with 2 updates by @dependabot[bot] in https://github.com/goplus/xgo/pull/2909 • build(deps):bump github.com/goplus/lib from 0.7.1 to 0.7.2 in the go-deps group across 1 directory by @dependabot[bot] in https://github.com/goplus/xgo/pull/2913

ci & tools: • fix(ci):build release binaries from the cmd module by @MeteorsLiu in https://github.com/goplus/xgo/pull/2910 • build(deps):bump docker/login-action 4.8.0 by @dependabot[bot] in https://github.com/goplus/xgo/pull/2896

New Contributors

• @MeteorsLiu made their first contribution in https://github.com/goplus/xgo/pull/2910

Full Changelog:https://github.com/goplus/xgo/compare/v1.7.5...v1.8.0

Installer type: zip

x86—7F1203245195F46F15913BF603FAD43F604081014FE728A5935A593933178C8F
x64—8DFC0F5D2853975C8B84B62E18DA067595E199FB2BB96C3763E3D9C1617F5188
arm64—BDBECD820CA09F2F7C5179B15671C6A34C20280AD387F4BF2A0E55DB59F17409

Details

Homepage
https://xgo.dev/
License
Apache-2.0
Publisher
goplus
Support
https://github.com/goplus/xgo/issues/new
Moniker
goplus

Tags

compilerdata-scienceeducationengineeringgogolanggoplusinterpreterlanguageprogrammingxgo

Older versions (4)

1.7.5
x86—4D8E7827CDD71824114895F69F4D92DCC893F7991DA5543742CE8D16E2AF83A6
x64—4AB52EFA94EFAAF3A63DD8478CA9A7CB897CE9967F13F4338A7479AD699887E6
arm64—BB31038BF10E05B54F0FED2E861F34C486AFBD5E940FFC2E7B6C9CC40218E1A5
1.7.3
x86—4CF0747E245803452CD1FDF34C36C00B55DF7821C17F81690E6F8190F931231A
x64—AF42795ECDD8E6DC09246D5FE8361CC91424281BBAE79D962FE0DBAEA948E3AE
arm64—0729857FD79592DC33D7C0EEFDC60F83E22132E31A2F237797D31021F47E61A7
1.6.8
x86—C5E5A4EBA1370F6AE43EB3A0C16BE1BE34790A714DDDC9DCE05371DC8C3E9B39
x64—9C5B1D06C01CFCE472A2CB22ADC2D437908AD3C54E8B4741791A06526A3582CA
arm64—70AD63387CCB0E5FE4B7F9E480FF90BF8D7962E02451E669133DD193DD6A2461
1.5.0
arm64—516275a61601525f9c9ae88d24b2c114bf66c0cd3d76f06cb96c322ac06216a3
x64—c15443b417504c1fae623c138c645cd627a290f88e2ef1098d799abc4ba43d1c
x86—f5b87d57eb51d1c91af3c9862a74cbcc3b2ce15c0bdc36ea530a8ae51c29d4fb