https://github.com/dafiliks/nex
A compiler for Nex Lang in C++
https://github.com/dafiliks/nex
backend compiler frontend
Last synced: 9 months ago
JSON representation
A compiler for Nex Lang in C++
- Host: GitHub
- URL: https://github.com/dafiliks/nex
- Owner: dafiliks
- License: mit
- Created: 2024-10-22T15:21:34.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-09-01T20:40:18.000Z (10 months ago)
- Last Synced: 2025-09-01T22:25:14.383Z (10 months ago)
- Topics: backend, compiler, frontend
- Language: C++
- Homepage: https://github.com/dafiliks/nex
- Size: 433 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Nex Lang
Nex Lang is a toy programming language, written in C++, that was created as a side project (hobby).
Features:
- Variables
- Exit statements
- Mathematical operations
- Comments
- Arrays
- Set statements
- Go statements
- Reassignment
- Ifz (If zero) statements
- El (Else) statements
- Input
- Output
Starting out:
- [Build the project and learn how to compile code](INFO.md)
- [Work through the documentation](docs/DOCS.pdf)
Todo:
- [ ] Fix Nex emitting a lot of repeating assembly instructions.
- [ ] Improve Input/Output.
- [ ] Wrap repeated functionality in functions.
- [ ] Reimplement the way control flow is implemented in generated assembly.
- [ ] Better error messages.
These improvements will be a part of my next compiler instead of being added to this project.
Copyright (C) David Filiks