Ada 83 examples: Difference between revisions
No edit summary |
|||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
The simplest program : | The simplest program : | ||
< | <syntaxhighlight lang="ada"> | ||
with TEXT_IO; | with TEXT_IO; | ||
----------- | ----------- | ||
| Line 11: | Line 11: | ||
TEXT_IO.PUT_LINE( "Hello_world !" ); | TEXT_IO.PUT_LINE( "Hello_world !" ); | ||
end; | end; | ||
</ | </syntaxhighlight> | ||
A simple ASCII JSON reader/writer program : | |||
[[JSON package]] | |||
'''Micro-controller programming''' | |||
'''Ada 83''' is a very convenient tool for micro-controller programming. The famous Arduino boards equipped with AVR chips can be programmed in '''Ada 83'''. Some examples [[Ada_83_on AVR_chips|here]]. | |||
Latest revision as of 17:57, 29 March 2025
Examples
The simplest program :
with TEXT_IO;
-----------
procedure HELLO_WORLD
is -----------
begin
TEXT_IO.PUT_LINE( "Hello_world !" );
end;A simple ASCII JSON reader/writer program : JSON package
Micro-controller programming
Ada 83 is a very convenient tool for micro-controller programming. The famous Arduino boards equipped with AVR chips can be programmed in Ada 83. Some examples here.