-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introducing basic structure of upcoming course on Ada idioms
- Loading branch information
Showing
6 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:next_state: False | ||
|
||
Appendices | ||
========== | ||
|
||
.. include:: ../../global.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
:prev_state: False | ||
|
||
.. include:: ../../global.txt | ||
|
||
Introduction | ||
============ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[DEFAULT] | ||
title=Ada Idioms | ||
author=Patrick Rogers | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
:prev_state: False | ||
:next_state: False | ||
|
||
.. _Ada_Idioms_Course_Index: | ||
|
||
Ada Idioms | ||
========== | ||
|
||
.. include:: ../global.txt | ||
|
||
.. only:: builder_epub | ||
|
||
Release |release| | ||
|
||
|today| | ||
|
||
.. only:: builder_latex or builder_epub | ||
|
||
.. container:: content-copyright | ||
|
||
Copyright © 2023, AdaCore | ||
|
||
This book is published under a CC BY-SA license, which means that you | ||
can copy, redistribute, remix, transform, and build upon the content | ||
for any purpose, even commercially, as long as you give appropriate | ||
credit, provide a link to the license, and indicate if changes were | ||
made. If you remix, transform, or build upon the material, you must | ||
distribute your contributions under the same license as the original. | ||
You can find license details | ||
`on this page <http://creativecommons.org/licenses/by-sa/4.0>`_ | ||
|
||
.. image:: ../../images/ccheart_black.png | ||
:width: 108pt | ||
|
||
.. container:: content-description | ||
|
||
This course will teach you the basics of the Ada programming language and | ||
is intended for those who already have a basic understanding of programming | ||
techniques. You will learn how to apply those techniques to programming in | ||
Ada. | ||
|
||
This document was written by Patrick Rogers. | ||
|
||
.. note:: | ||
|
||
The code examples in this course use an 80-column limit, which is a | ||
typical limit for Ada code. Note that, on devices with a small screen | ||
size, some code examples might be difficult to read. | ||
|
||
.. only:: builder_latex or builder_epub | ||
|
||
.. note:: | ||
|
||
Each code example from this book has an associated "code block | ||
metadata", which contains the name of the "project" and an MD5 hash | ||
value. This information is used to identify a single code example. | ||
|
||
You can find all code examples in a zip file, which you can | ||
`download from the learn website <https://learn.adacore.com/zip/learning-ada_code.zip>`_. | ||
The directory structure in the zip file is based on the code block | ||
metadata. For example, if you're searching for a code example with | ||
this metadata: | ||
|
||
- Project: Courses.Intro_To_Ada.Imperative_Language.Greet | ||
|
||
- MD5: cba89a34b87c9dfa71533d982d05e6ab | ||
|
||
you will find it in this directory: | ||
|
||
:file:`projects/Courses/Intro_To_Ada/Imperative_Language/Greet/cba89a34b87c9dfa71533d982d05e6ab/` | ||
|
||
In order to use this code example, just follow these steps: | ||
|
||
1. Unpack the zip file; | ||
2. Go to target directory; | ||
3. Start GNAT Studio on this directory; | ||
4. Build (or compile) the project; | ||
5. Run the application (if a main procedure is available in the | ||
project). | ||
|
||
|
||
.. only:: builder_html | ||
|
||
.. container:: ebook-download | ||
|
||
.. raw:: html | ||
|
||
<a class="ebook-download-button" href="/pdf_books/courses/ada-idioms.pdf"> | ||
Download PDF | ||
</a> | ||
|
||
<a class="ebook-download-button" href="/epub_books/courses/ada-idioms.epub"> | ||
Download EPUB | ||
</a> | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
:caption: Contents: | ||
|
||
Introduction <chapters/introduction> | ||
Appendices <chapters/appendices> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters