orosmatthew / hydrogen-cpp

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

Added arguments, documentation, asking for a Discord server and made errors red and bold #12

Open NotNekodev opened 11 months ago

NotNekodev commented 11 months ago

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 for the output executable; -d means that the out.asm and the out.o don't get deleted; and the input file which needs to be specified. I have a bug that i couldn't fix where you need to put a space between -o and the value of the argument(-o).

I also added a documentation in docs\Documentation.md

Errors are also now Read and bold

I hope you have a great 2024! Happy new year!

Best regards ConCrafter20

NotNekodev commented 11 months ago

Ok I will into it Thank you for the recommendation!

UnKabaraQuiDev commented 10 months ago

Nice code, also recommend adding an argument for showing or not the comments in the assembly file.

It could be nice if the comments in the assembly also had the file & line number next to them Something like this:

;; let test.h:2
{...}
;; if test.hy:4
{...}
;; elif test.hy:6
NotNekodev commented 10 months ago

Thanks i think it is possibel because in the newest episode Pixeled has added line numbers to errors

edy131109 commented 10 months ago

Nice code, also recommend adding an argument for showing or not the comments in the assembly file.

It could be nice if the comments in the assembly also had the file & line number next to them Something like this:

;; let test.h:2
{...}
;; if test.hy:4
{...}
;; elif test.hy:6

Oh man I'm also building my own language inspired by this but different in syntax and I'm definitely going to add this to it.

NotNekodev commented 10 months ago

@orosmatthew What about the Discord Server? I can create it

NotNekodev commented 10 months ago

is hydrogen a compiled or interpreted language? Or both?

zedritsch commented 10 months ago

Compiled

NotNekodev commented 10 months ago

Compiled

Does everything work?

zedritsch commented 10 months ago

Compiled

Does everything work?

Well, everything in test.hy I guess

NotNekodev commented 8 months ago

When will the series continue?

edy131109 commented 7 months ago

When will the series continue?

I hope soon.

NotNekodev commented 6 months ago

I think he abandoned the series