hydrogen-cpp icon indicating copy to clipboard operation
hydrogen-cpp copied to clipboard

A hobby programming language 🔥

Results 15 hydrogen-cpp issues
Sort by recently updated
recently updated
newest added

Hi, I wanted to ask if you would create a Discord server for your fans. I also added arguments to the hydro compiler. The arguments include: -o indicates an name...

**let x = 1; let y = x + 3; if (x - 1) { exit(1); } elif (x - 1) { exit(2); } exit(y);** Program crashes in this example....

To show a very simple example: 1. /* 2. comment 3. */ 4. let x = 0 Error message is "[Parse Error] Expected `;` on line **_2_**" even tho the...

I was really enjoying your series, pls continue.

I created a simple test script that you could use to automate testing, ensuring you don't make any breaking changes etc. Checks both exit code and (optionally) stdout when you...

I feel it'd probably be best because it will help when / if you add more functions (other than `exit()`) Loving the videos!

Both the tokenizer and the parser frequently check if the next peeked token exists and equals some expected value. I added two utility functions that should improve the readability.

Just caught up to the latest video in the series and saw @orosmatthew wanted to but didn't implement columns. This series has been great in teaching me C++ and learn...

the code `exit(12)` produces the following ASM `global _start _start: ;; exit mov rax, 12 push rax mov rax, 60 pop rdi syscall ;; /exit mov rax, 60 mov rdi,...