Ada Program That Asks For Name And Echoes It Back Errors Won't Compile
I'm learning Ada, and I am trying to write a program that asks for the user's name, and then echoes it back. But it gives me a few errors and refuses to compile. One of the many errors is too many calls to get_line. I'm using macOS Ventura M1 GCC 13.1.0 Gnat Studio. I get the same types of errors with Visual Studio Code, the same program will freeze and then you have to manually stop the program inside VSC. I can write a calculator, and "Hello, World!" this simple program is not working.
I tried the same code in Gnat Studio and Visual Studio Code. The program should prompt the user for their first name, and the program should say: "Hello, !"