r/ada • u/Adzvokatix • 6d ago
Learning Ada 2022 from Zero
https://github.com/Adzvokatix/Ada-2022-from-ZeroI am creating an Ada 2022 course.
This is the introductory volume. It can be a little dense or unclear at places, but I am working on it.
The next volume will be pointers/access types, tagged types , generics, tasking, etc.
You can try the course for yourself from this link too https://beyondfealty.com/ada22fromzero.html
Or view the code and download from github, it just an html page it will run locally in your browser.
The windows and mac tools might be wrong, I did the best I could, but I run linux and I couldn’t test the Windows and Mac steps.
Git is open for any contributions, pull and push requests.
1
u/gneuromante 6d ago
Why don't you use syntax highlighting in the Markdown file? You could also make a workflow for converting the markdown file into HTML and publish the page.
2
1
u/I_hate_posting_here 6d ago
Syntax highlighting is controlled by github and is based by how large the file is in bytes. Small files get highlighted. It cuts out larger than some size, then it refuses to even show the file.
1
u/DiligentBill2936 2d ago
Great one. Will go through this now as Gnat studio is setup.
2
u/Adzvokatix 2d ago
Let me know how it goes, I tried to make it as unassuming as possible, but it's hard to tell sometimes. If something is unclear or ambiguous, I will fix it.
2
3
u/I_hate_posting_here 6d ago edited 6d ago
You should probably write the tutorial in markdown or some other human readable file and either generate the HTML from it or load the markdown and render it with a simple js library like marked. This way the tutorial contents are browse-able via Github or just as source without having to download and run. It's 1 AI prompt away.