-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using HAC for teaching Ada to Beginners #2
Comments
Hi Sanyaade, Unfortunately the modularity (i.e. packages) is not yet implemented in HAC (0.074). Regards, |
Many thanks for getting back to me and for your quick reply. I will look at the GNAT and those src files you mentioned and feedback to you. Please add the packages feature on your list for the next release. Many thanks! Many thanks! Much appreciated! God blesses!!! Best regards, |
It's already on the list (hac_work.xls, sheet: to-do). But, for instance, to get to Ada.Text_IO, we'd need to implement String's, which requires first unconstrained arrays, which is already not a piece of cake. And programmable exceptions. And child packages. Lots of work... |
Hi Everybody,
Many thanks for making HAC, I found it very good and portable to give to my students.
What I will like to do is to use the Ada standard directives like with, package:, etc...
e.g. with Ada.Text_IO; use Ada_Text_IO; and so on....
My students are young learners (Age 15-18yr), new to Ada so it is important to teach the standard methods and programming fundamentals, etc...
HAC won't compile the code below:
with Ada.Text_IO;
procedure Greet is
begin
-- Print "Hello, World!" to the screen
Ada.Text_IO.Put_Line ("Hello, World!");
Ada.Text_IO.Put_Line("We love Hac Compiler for its compact size")
end Greet;
Is there are any way around doing this with HAC?
Many thanks!
Hear from you soon!
God blesses!!!
Best regards,
Sanyaade
The text was updated successfully, but these errors were encountered: