Skip to content

Commit e4bbe2b

Browse files
committed
准备 v1.1.0 发布
1 parent 8576f34 commit e4bbe2b

File tree

8 files changed

+24
-12
lines changed

8 files changed

+24
-12
lines changed

LICENSE-mit.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright (c) 2025 武汉凹语言科技有限公司
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Wa (Chinese name "凹", which pronounced "Wa") is a general-purpose programming
2525
- Github: [https://github.com/wa-lang/wa](https://github.com/wa-lang/wa)
2626
- Playground: [https://wa-lang.org/playground](https://wa-lang.org/playground)
2727

28-
> Note: Unless otherwise noted, the Wa source files are distributed under the AGPL-v3 license found in the LICENSE file.
28+
> Note: The Wa compiler source files are distributed under the AGPL-v3 license. The Wa standard library is licensed under the MIT license. The programs you develop using the Wa language can be safely used commercially without open source. If you want to integrate the Wa compiler code into your own project, but do not want to be restricted by the infectiousness of AGPL-v3, you can contact us to customize the license agreement for you.
2929
3030
## How to contribute
3131
The project is still in the prototype stage. If you have co-construction or PR needs, please refer to [How to contribute](./wca/readme_en.md). We no longer accept PRs for modifications to third-party libraries.
@@ -223,7 +223,6 @@ More examples [waroot/examples](waroot/examples)
223223
|王委委|100|
224224
|雪碧|100|
225225

226-
## Give a Star! ⭐
226+
## Contact us
227227

228-
If you like or are using Wa to learn or start your projects,
229-
please give it a star. Thanks!
228+
Email: `dev{AT}wa-lang.org`

internal/app/appbase/flags.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ func MakeFlag_target() *cli.StringFlag {
3333
// 通过 wat2c 同时生成native的C代码
3434
func MakeFlag_wat2c_native() *cli.BoolFlag {
3535
return &cli.BoolFlag{
36-
Name: "wat2c.native",
36+
Name: "wat2c-native",
3737
Usage: "use wat2c generated native c code",
3838
}
3939
}
4040

4141
// wat2c 生成名字的前缀
4242
func MakeFlag_wat2c_prefix() *cli.StringFlag {
4343
return &cli.StringFlag{
44-
Name: "wat2c.prefix",
44+
Name: "wat2c-prefix",
4545
Usage: "name prefix to use in wat2c generated code",
4646
Value: "app",
4747
}

internal/app/appbase/opt.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ func BuildOptions(c *cli.Context, waBackend ...string) *Option {
5959
Debug: c.Bool("debug"),
6060
WaBackend: config.WaBackend_Default,
6161
BuilgTags: strings.Fields(c.String("tags")),
62-
Wat2CNative: c.Bool("wat2c.native"),
63-
Wat2CPrefix: c.String("wat2c.prefix"),
64-
Wat2CExports: c.StringSliceAsMap("wat2c.exports"),
62+
Wat2CNative: c.Bool("wat2c-native"),
63+
Wat2CPrefix: c.String("wat2c-prefix"),
64+
Wat2CExports: c.StringSliceAsMap("wat2c-exports"),
6565
LD_StackSize: c.Int("ld-stack-size"),
6666
LD_MaxMemory: c.Int("ld-max-memory"),
6767
Optimize: c.Bool("optimize"),

internal/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
package version
55

6-
const Version = "v1.0.1"
6+
const Version = "v1.1.0"

waroot/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.1
1+
v1.1.0

waroot/changelog.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 版本日志
22

3+
- v1.1.0 (2025-07-16)
4+
- 增加 `__POS__` 预定义常量, 表示当前代码在全局的位置偏移量, 同时生成独立的位置表文件
5+
- 实验性增加 C 语言后端, 通过 `wa build -wat2c-native` 命令生成 C 语言工程
6+
- 标准库增加 `arduino/lcd1602` 包, 并添加 LCD1602 液晶屏显式的例子
7+
- 增加 linux/riscv64 和 linux/loong64 平台的二进制打包
8+
- 补充鲵凹凹吉祥物的图片素材
39
- v1.0.1 (2025-06-06)
410
- 凹语言 v1.0 正式版发布
511
- v0.22.0 (2025-03-24)

waroot/examples/hello/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ run:
44
go run ../../../main.go run -console .
55

66
build:
7-
go run ../../../main.go build -wat2c.native .
7+
go run ../../../main.go build -wat2c-native .
88

99
test:
1010
go run ../../../main.go test .

0 commit comments

Comments
 (0)