https://github.com/orosmatthew/hydrogen-cpp
A hobby programming language 🔥
https://github.com/orosmatthew/hydrogen-cpp
compiler language programming
Last synced: 5 months ago
JSON representation
A hobby programming language 🔥
- Host: GitHub
- URL: https://github.com/orosmatthew/hydrogen-cpp
- Owner: orosmatthew
- License: mit
- Created: 2023-08-15T15:35:05.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-05T20:01:16.000Z (over 1 year ago)
- Last Synced: 2025-07-02T00:42:00.403Z (6 months ago)
- Topics: compiler, language, programming
- Language: C++
- Homepage:
- Size: 27.3 KB
- Stars: 467
- Watchers: 21
- Forks: 49
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Hydrogen Lang (CPP Compiler)
Hydrogen is a Hobby programming language. It is called Hydrogen because it is simple, lightweight, and will catch on
fire if handled improperly🔥
This compiler is written in C++ but hopefully it will get to a point where it can be self-hosted.
## Building
Requires `nasm` and `ld` on a Linux operating system.
```bash
git clone https://github.com/orosmatthew/hydrogen-cpp
cd hydrogen-cpp
mkdir build
cmake -S . -B build
cmake --build build
```
Executable will be `hydro` in the `build/` directory.
## Contributing
I am not accepting pull requests for now to better keep in sync with the accompanying video series. Possibly in the future.
## Watch the Development
YouTube video
series "[Creating a Compiler](https://www.youtube.com/playlist?list=PLUDlas_Zy_qC7c5tCgTMYq2idyyT241qs)" by Pixeled