重写 README 部分错误内容(AI写的。我讨厌写文档和报告)
This commit is contained in:
@@ -5,12 +5,14 @@ Recommend view on Gitea Endpoint
|
|||||||
|
|
||||||
[简体中文](README_ZH-CN.md "Chinese version")
|
[简体中文](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
|
## Features
|
||||||
|
|
||||||
### 🚀 Core Language 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
|
- **Modern control flow** - Full `for` loop support with proper scoping
|
||||||
- **First-class functions** - Lambda expressions and closures
|
- **First-class functions** - Lambda expressions and closures
|
||||||
- **Rich data structures** - Structs, lists, maps, and tuples
|
- **Rich data structures** - Structs, lists, maps, and tuples
|
||||||
|
|||||||
@@ -4,12 +4,14 @@
|
|||||||
|
|
||||||
[English](README.md "英文版本")
|
[English](README.md "英文版本")
|
||||||
|
|
||||||
**Fig** 是一种静态类型、面向表达式的编程语言,专为清晰性、安全性和现代开发实践而设计。Fig 融合了 Go、Rust 和 JavaScript 的灵感,旨在提供高效的开发体验,同时保持强大的类型安全。
|
**Fig** 是一种动态强类型的编程语言,专为清晰性、安全性和现代开发实践而设计。Fig 融合了 Go、Rust 和 JavaScript 的灵感,旨在提供高效的开发体验,同时保持强大的类型安全。
|
||||||
|
|
||||||
|
[语言入门教程(zh_CN)](docs/zh_CN/01-简介.md "第一章")
|
||||||
|
|
||||||
## 特性
|
## 特性
|
||||||
|
|
||||||
### 🚀 核心语言特性
|
### 🚀 核心语言特性
|
||||||
- **静态类型与类型推断** - 强类型系统,最少类型注解
|
- **动态类型与类型推断** - 强类型系统,最少类型注解
|
||||||
- **现代控制流** - 完整的 `for` 循环支持,正确的作用域管理
|
- **现代控制流** - 完整的 `for` 循环支持,正确的作用域管理
|
||||||
- **一等公民函数** - Lambda 表达式和闭包
|
- **一等公民函数** - Lambda 表达式和闭包
|
||||||
- **丰富的数据结构** - 结构体、列表、映射和元组
|
- **丰富的数据结构** - 结构体、列表、映射和元组
|
||||||
|
|||||||
Reference in New Issue
Block a user