content
stringlengths
23
1.05M
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
-- { dg-do run } -- { dg-options "-O" } with Return4_Pkg; use Return4_Pkg; procedure Return4 is type Local_Rec is record C : Character; R : Rec; end record; pragma Pack (Local_Rec); L : Local_Rec; for L'Alignment use 2; begin L.R := Get_Value (0); if L.R.I1 /= 0 then raise Program_Error; ...
-- C32111A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
-- -- (c) Copyright 1993,1994,1995,1996 Silicon Graphics, Inc. -- ALL RIGHTS RESERVED -- Permission to use, copy, modify, and distribute this software for -- any purpose and without fee is hereby granted, provided that the above -- copyright notice appear in all copies and that both the copyright notice -- and th...
-- -- Copyright 2018 The wookey project team <wookey@ssi.gouv.fr> -- - Ryad Benadjila -- - Arnauld Michelizza -- - Mathieu Renard -- - Philippe Thierry -- - Philippe Trebuchet -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the...
-- WORDS, a Latin dictionary, by Colonel William Whitaker (USAF, Retired) -- -- Copyright William A. Whitaker (1936–2010) -- -- This is a free program, which means it is proper to copy it and pass -- it on to your friends. Consider it a developmental item for which -- there is no charge. However, just for form, it is C...
package Problem_57 is -- It is possible to show that the square root of two can be expressed as an -- infinite continued fraction. -- -- 2 = 1 + 1/(2 + 1/(2 + 1/(2 + ... ))) = 1.414213... -- -- By expanding this for the first four iterations, we get: -- 1 + 1/2 = 3/2 = 1.5 -- 1 + 1/(2 + 1/2) = 7...
-- BSD 3-Clause License -- -- Copyright (c) 2017, Maxim Reznik -- All rights reserved. -- -- Redistribution and use in source and binary forms, with or without -- modification, are permitted provided that the following conditions are met: -- -- * Redistributions of source code must retain the above copyright noti...
package body Arbre_Genealogique is procedure Initialiser (Arbre : out T_Arbre_Genealogique) is begin Initialiser (Arbre.Registre); Initialiser (Arbre.Graphe); Arbre.Auto_Increment := 1; end Initialiser; procedure Detruire (Arbre : in out T_Arbre_Genealogique) is begin Detruire (...
package body Plop is function Ping(i: in Integer) return Integer is begin return i+1; end Ping; end Plop;
------------------------------------------------------------------------------ -- -- -- GNAT ncurses Binding Samples -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT LIBRARY COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Calendar; package Timer is type T is tagged private; function start return T; function reset(tm: in out T) return Float; procedure reset(tm: in out T); procedure report(tm: in out T); procedure report(tm: in out T; message: in String); private type T is tagged record clock: Ada.Ca...
with Ada.Text_IO; procedure Positives is begin for Value in Positive'Range loop Ada.Text_IO.Put_Line (Positive'Image (Value)); end loop; end Positives;
-- SPDX-License-Identifier: Apache-2.0 -- -- Copyright (c) 2017 onox <denkpadje@gmail.com> -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/L...
----------------------------------------------------------------------- -- Appenders -- Log appenders -- Copyright (C) 2001, 2002, 2003, 2006, 2008, 2009, 2010, 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- yo...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with P_StructuralTypes; use P_StructuralTypes; package body P_StepHandler.FeistelHandler is function Make (Handler : in out FeistelHandler) return FeistelHandler is S1, S2, S3, S4, S5, S6, S7, S8 : T_SBox; begin ...
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Numerics.Discrete_Random; with Ada.Streams.Stream_IO; with League.JSON.Arrays; with League.JSON.Documents; with League.JSON.V...
-- Project: Strato -- System: Stratosphere Balloon Flight Controller -- Author: Martin Becker (becker@rcs.ei.tum.de) -- @summary String functions package MyStrings with SPARK_Mode is function Is_AlNum (c : Character) return Boolean; -- is the given character alphanumeric? function Strip_Non_Alphanum (s...
----------------------------------------------------------------------- -- Action_Bean - Simple bean with methods that can be called from EL -- Copyright (C) 2010 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you m...
------------------------------------------------------------------------------ -- Copyright (c) 2016, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with Littlefs; use Littlefs; with System.Storage_Elements; use System.Storage_Elements; with Interfaces.C; use Interfaces.C; with Interfaces; use Interfaces; with System; package body RAM_BD is function Read (C : access constant LFS_Config; Block : LFS_Block; Off : LF...
-- Gonzalo Martin Rodriguez -- Ivan Fernandez Samaniego with Kernel.Serial_Output; use Kernel.Serial_Output; with Ada.Real_Time; use Ada.Real_Time; with ada.strings.unbounded; use ada.strings.unbounded; with ada.strings.unbounded.text_io; use ada.strings.unbounded.text_io; with System; use System; with Tools; use Too...
M:assert F:G$slab_Assert$0$0({2}DF,SV:S),C,0,0,0,0,0 S:G$slab_Assert$0$0({2}DF,SV:S),C,0,0
with Interfaces.C, System; package GL_Types -- -- Provides openGL types whose definitions may differ amongst platforms. -- -- This file is generated by the 'generate_GL_types_Spec' tool. -- is pragma Pure; use Interfaces; subtype GLenum is C.unsigned; subtype GLboolean is C.unsigned_char;...
-- Filename: wtp.adb -- -- Description: Models the Water Tank Protection System -- pragma SPARK_Mode (On); package WTP with Abstract_State => State is procedure Control with Global => (Output => State), Depends => (State => null); end WTP;
-- SPDX-FileCopyrightText: 2019 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- with Program.Elements.Declarations; with Program.Elements.Defining_Identifiers; with Program.Lexical_Elements; with Program.Elements.Discrete_Ranges; packa...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; with Ada.Command_Line; use Ada.Command_Line; with SDA_Exceptions; use SDA_Exceptions; with Alea; with TH; -- Évaluer la qualité du générateur aléatoire et les SDA. procedure Evaluer_Alea_TH is -- Fonction Ident...
procedure hola is I, X : Integer; begin I := 1; X := 4; while I <= 6 AND X = 4 loop put(I); I := I + 1; end loop; X := 4 + 4; put("Fin del programa \n"); end hola;
-- Copyright (c) 2019 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- package body Program.Nodes.Discrete_Subtype_Indications is function Create (Subtype_Mark : not null Program....
with Ada.Text_IO; with Yaml.Servers; with GNAT.Sockets.Server; procedure Yaml.Server is Factory : aliased Servers.Yaml_Factory (200, 80, 8192, 100); Server : Servers.Server.Connections_Server (Factory'Access, 8088); pragma Unreferenced (Server); begin Factory.Trace_On (GNAT.Sockets.Server.Trace_Decoded, ...
package body Rational is function gcd(a_in, b_in : Long_Long_Integer) return Long_Long_Integer is a : Long_Long_Integer := a_in; b : Long_Long_Integer := b_in; begin if a = 0 then return b; end if; while b /= 0 loop if a > b then a := a - b; els...
----------------------------------------------------------------------- -- asf-cookies-tests - Unit tests for Cookies -- Copyright (C) 2011 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file ex...
with GL.safe, GL.lean, GL.desk, interfaces.C, System; procedure launch_GL_linkage_Test -- -- This test is only intended to check that all GL functions link correctly. -- It is not meant to be run. -- -- todo: Add missing calls for each profile. is use GL; begin -- Make a call to each...
with Asis.Declarations; with Asis.Elements; package body Asis_Adapter.Element.Defining_Names is ------------ -- EXPORTED: ------------ procedure Do_Pre_Child_Processing (Element : in Asis.Element; State : in out Class) is Parent_Name : constant String := Module_Name; Module_Name : constant S...
with Ada.Numerics.Discrete_Random; package RandInt is package RA is new Ada.Numerics.Discrete_Random(Natural); function Next(n: in Natural) return Natural; end RandInt ;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2018 Luke A. Guest -- -- This software is provided 'as-is', without any express or implied -- warranty. In no event will the authors be held liable for any damages -- arising fr...
with Interfaces; package GESTE_Config is type Color_Index is range 0 .. 77; subtype Output_Color is Interfaces.Unsigned_16; Transparent : constant Output_Color := 10067; Tile_Size : constant := 8; type Tile_Index is range 0 .. 194; No_Tile : constant Tile_Index := 0; end GESTE_Config;
----------------------------------------------------------------------- -- awa-storages-services -- Storage service -- Copyright (C) 2012 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this fil...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- MIT License -- Copyright (c) 2021 Stephen Merrony -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including without limitation the rights -- to use, copy, modify,...
with Ada.Strings.Fixed; with Ada.Strings.Maps.Constants; package body kv.avm.Instructions is ---------------------------------------------------------------------------- function Encode_Operation(Op : Operation_Type) return String is begin case Op is when Add => return "+"; when Sub =...
pragma Ada_2012; with GStreamer.Rtsp.Tests; with GStreamer.Rtsp.url.Tests; with GStreamer.Rtsp.Transport.Tests; package body GStreamer.tests.Rtsp_Suit is ---------- -- Suit -- ---------- Rtsp_Test : aliased GStreamer.Rtsp.Tests.Test_Case; url_Test : aliased GStreamer.Rtsp.url.Tests.Test_Case; Transpo...
with Ada.Strings.Unbounded; with Ada.Text_IO; use Ada.Text_IO; with GL.Types; with Maths; with Blade; with Blade_Types; with GA_Maths; with GA_Utilities; with Multivectors; use Multivectors; with Multivector_Type; with Multivector_Utilities; procedure Test_MV_Factor is use GL.Types; use Blade; -- use B...
-- Copyright 2016-2021 Bartek thindil Jasicki -- -- This file is part of Steam Sky. -- -- Steam Sky is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
with Ada.Characters; with Ada.Characters.Handling; package body Project_Processor.Projects.Identifiers is ------------------------- -- Is_Valid_Identifier -- ------------------------- function Is_Valid_Identifier (X : String) return Boolean is use Ada.Characters.Handling; begin if X'Length ...
with Test_Solution; use Test_Solution; with Ada.Text_IO; use Ada.Text_IO; package problem_16 is function Solution_1(I : Integer) return Integer; procedure Test_Solution_1; function Get_Solutions return Solution_Case; end problem_16;
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp_Demo_OSASI_Instance_Controllers; use Apsepp_Demo_OSASI_Instance_Controllers; -- See comments in package bodies Apsepp_Demo_OSASI_Instance_Controllers and -- Apsepp_Demo_OSASI_Instance_Client. proce...
with E2GA; package body Mouse_Manager is -- mouse position on last call to MouseButton() / MouseMotion() Prev_Mouse_Pos : E2GA.Vector; -- when true, MouseMotion() will rotate the model Rotate_Model : Boolean := False; Rotate_Model_Out_OfPPlane : Boolean := False; -- rotation of th...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
-- -- Copyright (C) 2021, AdaCore -- pragma Style_Checks (Off); -- This spec has been automatically generated from STM32H743x.svd with System; package Interfaces.STM32.SYSCFG is pragma Preelaborate; pragma No_Elaboration_Code_All; --------------- -- Registers -- --------------- subtype PMCR_I...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with STM32GD.Clock.Tree; generic with package Clock_Tree is new STM32GD.Clock.Tree (<>); package STM32GD.Timeout is type Microseconds is new Natural; type Milliseconds is new Natural; type Seconds is new Natural; procedure Set (T : Microseconds); procedure Set (T : Milliseconds); procedure Set...
-- -- -- package Strings_Edit.UTF8 Copyright (c) Dmitry A. Kazakov -- -- Interface Luebeck -- -- Spring, 2005 -- -- ...
with Tkmrpc.Types; with Tkmrpc.Results; package Tkmrpc.Servers.Ees is procedure Init; -- Initialize EES server. procedure Finalize; -- Finalize EES server. procedure Esa_Acquire (Result : out Results.Result_Type; Sp_Id : Types.Sp_Id_Type); -- Trigger 'Acquire' event for an ESP SA. ...
with Ada.Text_IO; use Ada.Text_IO; procedure Main is procedure Nested is begin Put_Line ("Hello World"); end Nested; begin Nested; end Main;
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- { dg-do run } -- { dg-options "-O -gnatn" } with Loop_Optimization8_Pkg1; procedure Loop_Optimization8 is Data : Loop_Optimization8_Pkg1.T; procedure Check_1 (N : in Natural) is begin if N /= 0 then for I in 1 .. Data.Last loop declare F : constant Natural := Data.Elements (...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
-- -- ABench2020 Benchmark Suite -- -- Selection Sort Program -- -- Licensed under the MIT License. See LICENSE file in the ABench root -- directory for license information. -- -- Uncomment the line below to print the result. -- with Ada.Text_IO; use Ada.Text_IO; procedure Selection_Sort is type Vector is arr...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with agar.core.event; with agar.core; with agar.gui.widget.button; with agar.gui.widget; with agar.gui.window; with agar.gui; with demo; with keyevent_callbacks; procedure keyevent is package gui_button renames agar.gui.widget.button; package gui_event renames agar.core.event; package gui_widget renames agar.gu...
with Text_IO; procedure Main is task type Blinker_Type is entry Start(S : String); entry Stop; end Blinker_Type; task Blinker_Control is entry Blink_Left; entry Blink_Right; entry Blink_Emergency; entry Blink_Stop; end Blinker_Control; Left_Blinker, Right_Blinker: B...
------------------------------------------------------------------------------ -- File : GLOBE_3D - Random_extrusions.ads -- Description : Algorithm to generate a Sci - Fi - style extruded surface -- Date / Version : 14 - May - 2006 -- Copyright (c) Gautier de Montmollin 200...
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME COMPONENTS -- -- -- -- ...
with Ada.Text_IO; use Ada.Text_IO; with GNAT.MD5; procedure MD5_Digest is begin Put(GNAT.MD5.Digest("Foo bar baz")); end MD5_Digest;
----------------------------------------------------------------------- -- util-properties -- Generic name/value property management -- Copyright (C) 2001 - 2021 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you ma...
-- ============================================================================ -- Atmel Microcontroller Software Support -- ============================================================================ -- Copyright (c) 2017 Atmel Corporation, -- a wholly owned subsidiary of Microchip Technology Inc. -- -- License...
-------------------------------------------- -- -- -- PACKAGE GAME - PARTIE ADA -- -- -- -- GAME-GAUDIO.ADS -- -- -- -- Gestion du son (musique et "chunk") -- -- ...
package matrices is type Matriz_De_Enteros is array (Integer range <>, Integer range <>) of Integer; type Matriz_De_Reales is array (Integer range <>, Integer range <>) of Float; type Matriz_De_Booleanos is array (Integer range <>, Integer range <>) of Boolean; type Matriz_De_Caracteres is array (Integer range ...
-- { dg-do compile } -- { dg-options "-gnatws" } package Rep_Clause2 is type S is new String; for S'Component_Size use 256; type T is new S(1..8); end Rep_Clause2;
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
with Ada.Unchecked_Deallocation; package body Graphe is procedure Initialiser (Graphe : out T_Graphe) is begin Graphe := null; end Initialiser; procedure Desallouer_Sommet is new Ada.Unchecked_Deallocation (T_Sommet, T_Graphe); procedure Desallouer_Arete is new Ada.Unchecked_Deallocation (...
-- SPDX-License-Identifier: MIT -- -- Copyright (c) 1999 - 2018 Gautier de Montmollin -- SWITZERLAND -- -- Permission is hereby granted, free of charge, to any person obtaining a copy -- of this software and associated documentation files (the "Software"), to deal -- in the Software without restriction, including...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
package AdaCar.Organizador_Movimiento is procedure Nueva_Distancia_Sensor(Valor: Unidades_Distancia); end AdaCar.Organizador_Movimiento;
with Ada.Text_IO; use Ada.Text_IO; with Ada.Numerics.Discrete_Random; procedure Test_Loop_Break is type Value_Type is range 0..19; package Random_Values is new Ada.Numerics.Discrete_Random (Value_Type); use Random_Values; Dice : Generator; A, B : Value_Type; begin loop A := Random (Dice); ...
with Interfaces.C.Strings, System; use type System.Address; package body FLTK.Widgets.Inputs.Outputs is procedure output_set_draw_hook (W, D : in System.Address); pragma Import (C, output_set_draw_hook, "output_set_draw_hook"); pragma Inline (output_set_draw_hook); proce...
package Yeison_Multi with Preelaborate is type Any is tagged private; type Scalar is tagged private with Integer_Literal => To_Int, String_Literal => To_Str; function To_Int (Img : String) return Scalar; function To_Str (Img : Wide_Wide_String) return Scalar; type Map is tagged private with...
-- { dg-do compile } -- { dg-options "-O -gnatn" } with Ada.Text_IO; use Ada.Text_IO; with Controlled6_Pkg; with Controlled6_Pkg.Iterators; procedure Controlled6 is type String_Access is access String; package My_Q is new Controlled6_Pkg (String_Access); package My_Iterators is new My_Q.Iterators (0); u...
--////////////////////////////////////////////////////////// -- SFML - Simple and Fast Multimedia Library -- Copyright (C) 2007-2015 Laurent Gomila (laurent@sfml-dev.org) -- This software is provided 'as-is', without any express or implied warranty. -- In no event will the authors be held liable for any damages arising...
with ObjectPack; use ObjectPack; package VisitablePackage is type Visitable is interface and Object; type VisitablePtr is access all Visitable'Class; function getChildCount(v: access Visitable) return Integer is abstract; function setChildren(v: access Visitable ; children : ObjectPtrArrayPtr) return Visitabl...
package Memory_Analyzer is function Count (Size : Integer; File : String; Var : String) return Boolean; end Memory_Analyzer;
-- Copyright (C) 2019 Thierry Rascle <thierr26@free.fr> -- MIT license. Please refer to the LICENSE file. with Apsepp.Test_Node_Class.Suite_Stub; use Apsepp.Test_Node_Class.Suite_Stub; use Apsepp.Test_Node_Class; package Apsepp.Abstract_Test_Suite is subtype Test_Node_Array is Apsepp.Test_Node_Class.Test_Node_A...
-- C85014A.ADA -- Grant of Unlimited Rights -- -- Under contracts F33600-87-D-0337, F33600-84-D-0280, MDA903-79-C-0687, -- F08630-91-C-0015, and DCA100-97-D-0025, the U.S. Government obtained -- unlimited rights in the software and documentation contained herein. -- Unlimit...
------------------------------------------------------------------------------ -- G E L A A S I S -- -- ASIS implementation for Gela project, a portable Ada compiler -- -- http://gela.ada-ru.org -- -- ...
pragma License (Unrestricted); -- implementation unit package Ada.Strings.Naked_Maps.Case_Mapping is pragma Preelaborate; function Lower_Case_Map return not null Character_Mapping_Access; function Upper_Case_Map return not null Character_Mapping_Access; end Ada.Strings.Naked_Maps.Case_Mapping;
pragma License (Unrestricted); -- implementation unit with Ada.IO_Exceptions; with Ada.IO_Modes; with System.Native_IO; private with Ada.Tags; package Ada.Streams.Naked_Stream_IO is pragma Preelaborate; -- the parameter Form Default_Form : constant System.Native_IO.Packed_Form := (Shared => IO_Modes....
-- Used for all testcases for MySQL driver with AdaBase.Driver.Base.PostgreSQL; with AdaBase.Statement.Base.PostgreSQL; package Connect is -- All specific drivers renamed to "Database_Driver" subtype Database_Driver is AdaBase.Driver.Base.PostgreSQL.PostgreSQL_Driver; subtype Stmt_Type is AdaBase.Statemen...
--********** --* Helen --* Added some declarations here to agree with Ada95 manual --******** ------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS ...
with Text_IO; package body Memory_Analyzer is function Bytes_Required (Value : in Integer) return Integer is Bytes_To_Long_Word : constant Integer := 4; Offset_To_Byte_In_Bits : constant Integer := 8 - 1; Offset_To_Long_Word_In_Bytes : Integer := Bytes_To_Long_Word - 1; begin r...
-- Abstract : -- -- A generalized LR parser, with no error recovery, no semantic checks. -- -- This allows wisi-generate (which uses the generated wisi_grammar) -- to not depend on wisitoken-lr-mckenzie_recover, so editing that -- does not cause everything to be regenerated/compiled. -- -- Copyright (C) 2002, 200...
with Ada.Unchecked_Deallocation; with System.Address_To_Named_Access_Conversions; with System.Storage_Pools.Overlaps; package body System.Initialization is pragma Suppress (All_Checks); type Object_Access is access all Object; for Object_Access'Storage_Pool use Storage_Pools.Overlaps.Pool.all; procedure F...
with Ada.Text_IO; use Ada.Text_IO; procedure Range_Example is type Range_2_Based is array (Positive range 2 .. 4) of Integer; ARR : Range_2_Based := (3, 5, 7); begin <<example_1>> Put_Line ("example 1"); for Index in 2 .. 4 loop Put_Line (Integer'image (ARR (Index))); end loop; <<example_2...