Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qiu233/sysy-hs
https://github.com/qiu233/sysy-hs
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/qiu233/sysy-hs
- Owner: Qiu233
- License: bsd-3-clause
- Created: 2024-05-08T21:15:18.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-05-16T02:47:12.000Z (7 months ago)
- Last Synced: 2024-05-16T15:16:01.494Z (7 months ago)
- Language: Haskell
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# sysy-hs
SysY2022 language implementation written in pure Haskell.SysY2022语言的纯Haskell实现,由于是兴趣向项目,且目前忙于其他目标,所以进度会有点慢。
Haskell真的非常适合写这种项目,例如Parser只用了一晚上就写完了,还不容易出错,只是可惜大赛不能用Haskell。不过我猜如果Rust有parsec这种库,应该不难翻译到Rust。
# Targets
Work In Progress.- [x] Parser
- [ ] Static Analysis
- [x] Name Resolution
- [x] Type Checking
- [ ] Constant Computation (Or a part of data flow analysis?, but const array's dimensions should be resolved right after type checking)
- [ ] Control Flow Analysis
- [ ] Data Flow Analysis
- [ ] LLVM backend
- [ ] Optimizations