mirror of
https://gitee.com/wa-lang/wa.git
synced 2025-12-06 09:18:53 +08:00
准备 v1.1.0 发布
This commit is contained in:
7
LICENSE-mit.txt
Normal file
7
LICENSE-mit.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
Copyright (c) 2025 武汉凹语言科技有限公司
|
||||
|
||||
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:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
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.
|
||||
@@ -25,7 +25,7 @@ Wa (Chinese name "凹", which pronounced "Wa") is a general-purpose programming
|
||||
- Github: [https://github.com/wa-lang/wa](https://github.com/wa-lang/wa)
|
||||
- Playground: [https://wa-lang.org/playground](https://wa-lang.org/playground)
|
||||
|
||||
> Note: Unless otherwise noted, the Wa source files are distributed under the AGPL-v3 license found in the LICENSE file.
|
||||
> 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.
|
||||
|
||||
## How to contribute
|
||||
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)
|
||||
|王委委|100|
|
||||
|雪碧|100|
|
||||
|
||||
## Give a Star! ⭐
|
||||
## Contact us
|
||||
|
||||
If you like or are using Wa to learn or start your projects,
|
||||
please give it a star. Thanks!
|
||||
Email: `dev{AT}wa-lang.org`
|
||||
|
||||
@@ -33,7 +33,7 @@ func MakeFlag_target() *cli.StringFlag {
|
||||
// 通过 wat2c 同时生成native的C代码
|
||||
func MakeFlag_wat2c_native() *cli.BoolFlag {
|
||||
return &cli.BoolFlag{
|
||||
Name: "wat2c.native",
|
||||
Name: "wat2c-native",
|
||||
Usage: "use wat2c generated native c code",
|
||||
}
|
||||
}
|
||||
@@ -41,7 +41,7 @@ func MakeFlag_wat2c_native() *cli.BoolFlag {
|
||||
// wat2c 生成名字的前缀
|
||||
func MakeFlag_wat2c_prefix() *cli.StringFlag {
|
||||
return &cli.StringFlag{
|
||||
Name: "wat2c.prefix",
|
||||
Name: "wat2c-prefix",
|
||||
Usage: "name prefix to use in wat2c generated code",
|
||||
Value: "app",
|
||||
}
|
||||
|
||||
@@ -59,9 +59,9 @@ func BuildOptions(c *cli.Context, waBackend ...string) *Option {
|
||||
Debug: c.Bool("debug"),
|
||||
WaBackend: config.WaBackend_Default,
|
||||
BuilgTags: strings.Fields(c.String("tags")),
|
||||
Wat2CNative: c.Bool("wat2c.native"),
|
||||
Wat2CPrefix: c.String("wat2c.prefix"),
|
||||
Wat2CExports: c.StringSliceAsMap("wat2c.exports"),
|
||||
Wat2CNative: c.Bool("wat2c-native"),
|
||||
Wat2CPrefix: c.String("wat2c-prefix"),
|
||||
Wat2CExports: c.StringSliceAsMap("wat2c-exports"),
|
||||
LD_StackSize: c.Int("ld-stack-size"),
|
||||
LD_MaxMemory: c.Int("ld-max-memory"),
|
||||
Optimize: c.Bool("optimize"),
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
package version
|
||||
|
||||
const Version = "v1.0.1"
|
||||
const Version = "v1.1.0"
|
||||
|
||||
@@ -1 +1 @@
|
||||
v1.0.1
|
||||
v1.1.0
|
||||
@@ -1,5 +1,11 @@
|
||||
# 版本日志
|
||||
|
||||
- v1.1.0 (2025-07-16)
|
||||
- 增加 `__POS__` 预定义常量, 表示当前代码在全局的位置偏移量, 同时生成独立的位置表文件
|
||||
- 实验性增加 C 语言后端, 通过 `wa build -wat2c-native` 命令生成 C 语言工程
|
||||
- 标准库增加 `arduino/lcd1602` 包, 并添加 LCD1602 液晶屏显式的例子
|
||||
- 增加 linux/riscv64 和 linux/loong64 平台的二进制打包
|
||||
- 补充鲵凹凹吉祥物的图片素材
|
||||
- v1.0.1 (2025-06-06)
|
||||
- 凹语言 v1.0 正式版发布
|
||||
- v0.22.0 (2025-03-24)
|
||||
|
||||
@@ -4,7 +4,7 @@ run:
|
||||
go run ../../../main.go run -console .
|
||||
|
||||
build:
|
||||
go run ../../../main.go build -wat2c.native .
|
||||
go run ../../../main.go build -wat2c-native .
|
||||
|
||||
test:
|
||||
go run ../../../main.go test .
|
||||
|
||||
Reference in New Issue
Block a user