@DanWL It's sad, that a one-liner in Python could do what you did in a long time (encoding this into Morse code).
So you should check for programming alternatives next time you do something like this.
This happened to me too. I was writing the "Hello, World!" program for my programming language ("Turing Machine But Way Worse"; https://tio.run/#tmbww
), and it took me 3 hours.
After a few days, it occurred to me to write a program which could convert any print statement in Python 3 to Turing Machine But Way Worse. It took me 5 minutes to write the program to support printing anything, compared to 3 hours to print "Hello, World!" to the console.