重写 README 部分错误内容(AI写的。我讨厌写文档和报告)

This commit is contained in:
2026-01-28 18:41:13 +08:00
parent 7ddf03d4c9
commit b1cd2ab173
2 changed files with 8 additions and 4 deletions

View File

@@ -5,12 +5,14 @@ Recommend view on Gitea Endpoint
[简体中文](README_ZH-CN.md "Chinese version")
**Fig** is a statically-typed, expression-oriented programming language designed for clarity, safety, and modern development practices. With features inspired by Go, Rust, and JavaScript, Fig aims to provide a productive development experience while maintaining strong type safety.
**Fig** is a dynamically strongly typed programming language designed for clarity, safety, and modern development practices. With features inspired by Go, Rust, and JavaScript, Fig aims to provide a productive development experience while maintaining strong type safety.
[LanguageTutorial(zh_CN)](docs/zh_CN/01-简介.md "Chinese version")
## Features
### 🚀 Core Language Features
- **Static typing with type inference** - Strong typing with minimal annotations
- **Dynamic typing with type inference** - Strong typing with minimal annotations
- **Modern control flow** - Full `for` loop support with proper scoping
- **First-class functions** - Lambda expressions and closures
- **Rich data structures** - Structs, lists, maps, and tuples

View File

@@ -4,12 +4,14 @@
[English](README.md "英文版本")
**Fig** 是一种静态类型、面向表达式的编程语言专为清晰性、安全性和现代开发实践而设计。Fig 融合了 Go、Rust 和 JavaScript 的灵感,旨在提供高效的开发体验,同时保持强大的类型安全。
**Fig** 是一种动态强类型的编程语言专为清晰性、安全性和现代开发实践而设计。Fig 融合了 Go、Rust 和 JavaScript 的灵感,旨在提供高效的开发体验,同时保持强大的类型安全。
[语言入门教程(zh_CN)](docs/zh_CN/01-简介.md "第一章")
## 特性
### 🚀 核心语言特性
- **态类型与类型推断** - 强类型系统,最少类型注解
- **态类型与类型推断** - 强类型系统,最少类型注解
- **现代控制流** - 完整的 `for` 循环支持,正确的作用域管理
- **一等公民函数** - Lambda 表达式和闭包
- **丰富的数据结构** - 结构体、列表、映射和元组