https://github.com/resolvedxd/catlang
A project to make an LLVM-free systems language that makes it easy to write lean native apps 🐈
https://github.com/resolvedxd/catlang
Last synced: about 1 year ago
JSON representation
A project to make an LLVM-free systems language that makes it easy to write lean native apps 🐈
- Host: GitHub
- URL: https://github.com/resolvedxd/catlang
- Owner: resolvedxd
- Created: 2025-03-30T18:39:52.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-08T06:14:12.000Z (about 1 year ago)
- Last Synced: 2025-04-08T07:25:51.593Z (about 1 year ago)
- Language: Zig
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C@ (catlang) 🐈
### Description
A personal exercise in writing an optimizing compiler and language
design.
The language is called C@ (as in C at, cat), or catlang, and this repo serves as the reference compiler implementation written in Zig.
The main goals of the language are: **LLVM-free** x86 and ARM64 codegen, **static typing** and a standard library that includes easy to use graphic primitives and drawing to a window, to make it easy to write good native apps that dont use electron or a webview.
### TODO
- **Frontend**
- [x] Tokenization
- [x] Parsing (AST)
- [ ] Type Checking
- **Backend**
- [ ] IR Design
- [ ] ARM64 Codegen
- [ ] x86 Codegen