=======
Lab
=======

-----------------
Ada.Strings Lab
-----------------
   
* Requirements
   
   - Create a (simplistic) source code parser to read an Ada file

      - Use your main program as input!

   - Print the number of comments and semi-colons in the file
   - Print a sorted list of objects found in the code

* Hints

   - Object name will be an identifier before a standalone ":"
   - Object list will need varying length strings

* Extra Credit (if you have time):

   - When you search for strings, you will also find them as a search parameter!

     - Find a way to "skip over" string literals
 
-----------------------------------------
Ada.Strings Lab Solution (Declarations)
-----------------------------------------

.. container:: source_include 892_ada_strings/lab/ada_strings/answer/main.adb :start-after:--declarations --:end-before:--declarations :code:Ada :number-lines:1
 
---------------------------------
Ada.Strings Lab Solution (Main)
---------------------------------

.. container:: source_include 892_ada_strings/lab/ada_strings/answer/main.adb :start-after:--main --:end-before:--main :code:Ada :number-lines:39
 
-----------------------------------------
Ada.Strings Lab Solution (Extra Credit)
-----------------------------------------

.. container:: source_include 892_ada_strings/lab/ada_strings/answer/main.adb :start-after:--extra_credit --:end-before:--extra_credit :code:Ada :number-lines:21
