https://github.com/shigma/felis
https://github.com/shigma/felis
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/shigma/felis
- Owner: shigma
- Created: 2023-06-16T18:01:13.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-18T08:45:55.000Z (about 3 years ago)
- Last Synced: 2024-10-05T11:41:38.117Z (almost 2 years ago)
- Language: Rust
- Size: 49.8 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Felis
个人学习 Rust 时用于练手实现的编程语言。非常简单,适合想要自己设计语言的人参考。
## 语法特性
### 已实现特性
- arithmetic expression
- first-class function
- variable binding
- type binding (暂时不能用于子类型检查,等待 recursive types 实现)
- if expression
- block expression
### 计划实现
- recursive types
- mutable variable (?)
- while expression
- return statement
- enum / match
- universal type / inference
- HKT
- module
- trait / operator overloading
### 可能不会实现
- record / interface
- dependent type