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

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

Open NotNekodev opened this issue 1 year ago • 12 comments

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 avatar Jan 01 '24 01:01 NotNekodev

Ok I will into it Thank you for the recommendation!

NotNekodev avatar Jan 01 '24 21:01 NotNekodev

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

UnKabaraQuiDev avatar Jan 03 '24 20:01 UnKabaraQuiDev

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

NotNekodev avatar Jan 03 '24 23:01 NotNekodev

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.

edy131109 avatar Jan 04 '24 00:01 edy131109

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

NotNekodev avatar Jan 04 '24 21:01 NotNekodev

is hydrogen a compiled or interpreted language? Or both?

NotNekodev avatar Jan 05 '24 21:01 NotNekodev

Compiled

zedritsch avatar Jan 06 '24 00:01 zedritsch

Compiled

Does everything work?

NotNekodev avatar Jan 06 '24 00:01 NotNekodev

Compiled

Does everything work?

Well, everything in test.hy I guess

zedritsch avatar Jan 06 '24 08:01 zedritsch

When will the series continue?

NotNekodev avatar Apr 01 '24 11:04 NotNekodev

When will the series continue?

I hope soon.

edy131109 avatar Apr 15 '24 16:04 edy131109

I think he abandoned the series

NotNekodev avatar May 04 '24 22:05 NotNekodev