comp.lang.ada
 help / color / mirror / Atom feed
* how to organize source code for a complete software? Thanks!
@ 2011-10-09 16:20 Jinsong Zhao
  2011-10-09 17:16 ` stefan-lucks
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Jinsong Zhao @ 2011-10-09 16:20 UTC (permalink / raw)


Hi there,

I am new to Ada, and I just have some experiences in using Fortran.

When using Fortran, I generally put each subroutine or function in a 
separate file, e.g., dot.for for dot product of two vectors. Then a 
main.for that call the necessary subroutine or functions. It seems to be 
rational.

When I using Ada, I don't know how to do. There are procedure, function, 
package, package body, and so on (with different file extension, e.g., 
ada, adb, ads, ...). And there is no main program.

Would anyone here like to give a an analogy between the source code 
organization in Fortran and the one in Ada?

And, please, if you like, point me a small, complete open source 
software in Ada (not a library or package). I should be compiled and 
run. I just hope to learn how to start a software in Ada by example.

Any suggestions or comments will be really appreciated. Thanks in advance.

Regards,
Jinsong



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-10-10 22:12 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-09 16:20 how to organize source code for a complete software? Thanks! Jinsong Zhao
2011-10-09 17:16 ` stefan-lucks
2011-10-10  5:52   ` Jinsong Zhao
2011-10-09 17:37 ` Yannick Duchêne (Hibou57)
2011-10-10  6:02   ` Jinsong Zhao
2011-10-10 13:15     ` Paul Colin Gloster
2011-10-10 15:46       ` Simon Wright
2011-10-10 19:03       ` RasikaSrinivasan@gmail.com
2011-10-10 22:12       ` Randy Brukardt
2011-10-09 17:48 ` Niklas Holsti
2011-10-09 18:37   ` Ludovic Brenta
2011-10-09 21:24     ` J-P. Rosen
2011-10-10 12:09     ` Jinsong Zhao
2011-10-10  6:45   ` Jinsong Zhao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox