orosmatthew / hydrogen-cpp

A hobby programming language 🔥
MIT License
392 stars 38 forks source link
compiler language programming

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.

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" by Pixeled