This repository has been archived on 2024-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
arf/README.md

47 lines
1.3 KiB
Markdown
Raw Normal View History

2022-08-17 18:16:48 -06:00
# ![ARF](assets/logo.svg)
2022-08-08 23:51:56 -06:00
The ARF programming language.
This is still under development and does not compile things yet. Once complete,
it will serve as a temporary compiler that will be used to write a new one using
the language itself.
The old repository can be found [here](https://github.com/sashakoshka/arf-old).
ARF is a low level language with a focus on organization, modularization, and
code clarity. Behind it's avant-garde syntax, its basically just a more refined
version of C.
A directory of ARF files is called a module, and modules will compile to object
files (one per module) using C as an intermediate language (maybe LLVM IR in the
future).
Be sure to visit the [wiki](https://git.tebibyte.media/arf/arf/wiki) for more
information.
2022-08-24 22:51:54 -06:00
## Planned Features
- Type definition through inheritence
- Struct member functions
- Go-style interfaces
- Generics
- A standard library (that can be dynamically linked)
2022-08-08 23:51:56 -06:00
## Checklist
- [X] File reader
2022-08-11 17:37:00 -06:00
- [X] File -> tokens
2022-09-05 10:47:03 -06:00
- [X] Tokens -> syntax tree
2022-08-08 23:51:56 -06:00
- [ ] Syntax tree -> semantic tree
- [ ] Semantic tree -> C -> object file
- [ ] Figure out HOW to implement generics
- [ ] Create a standard library
2022-08-24 22:51:54 -06:00
## Compiler Progress
<img src="assets/heatmap.png" alt="Progress heatmap" width="400">
- Yellow: needs to be completed for the MVP
- Lime: ongoing progress in this area
- Green: Already completed