content
stringlengths
23
1.05M
-- 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...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- Generated at 2014-06-02 19:12:04 +0000 by Natools.Static_Hash_Maps -- from ../src/natools-s_expressions-printers-pretty-config-commands.sx with Natools.S_Expressions.Printers.Pretty.Config.Main_Cmd; with Natools.S_Expressions.Printers.Pretty.Config.Newline_Cmd; with Natools.S_Expressions.Printers.Pretty.Config.Qu...
with Program.Parsers.Nodes; use Program.Parsers.Nodes; pragma Style_Checks ("N"); procedure Program.Parsers.On_Reduce_1 (Self : access Parse_Context; Prod : Anagram.Grammars.Production_Index; Nodes : in out Program.Parsers.Nodes.Node_Array) is begin case Prod is when 1 => declare List : No...
-- -*- Mode: Ada -*- -- Filename : ether-response.adb -- Description : Body for the response objects. -- Author : Luke A. Guest -- Created On : Sun Jul 4 19:22:48 2010 with Ada.Characters.Latin_1; --with Ada.Text_IO; use Ada.Text_IO; with Ada.Strings.Unbounded...
pragma Profile (Ravenscar); pragma Partition_Elaboration_Policy (Sequential); with Ada.Real_Time; use Ada.Real_Time; package Stopwatch is Update_Rate : constant Time_Span := Milliseconds (100); -- the type definition of the protected obect -- controlling the stopwatch task protected type Stopwatch_Ctrl...
-- { dg-excess-errors "no code generated" } with Renaming2_Pkg2; with Renaming2_Pkg3; with Renaming2_Pkg4; package Renaming2_Pkg1 is package Impl is new Renaming2_Pkg3 (Base_Index_T => Positive, Value_T => Renaming2_Pkg2.Root); use Impl; package GP is new Renaming2_Pkg4 (Length_T => Impl.Length_T, Va...
with Numerics; use Numerics; package body Forward_AD.Integrator is function Bogack_Shampine (Hamiltonian : not null access function (X : Real_Array; N : Nat) return AD_Type; Var : in Variable; Control : in out Control_Type) return Real_Array is X : Real_Array ...
------------------------------------------------------------------------ -- Copyright (C) 2010-2020 by Heisenbug Ltd. (github@heisenbug.eu) -- -- This work is free. You can redistribute it and/or modify it under -- the terms of the Do What The Fuck You Want To Public License, -- Version 2, as published by Sam Hocev...
-- This spec has been automatically generated from STM32L4x2.svd pragma Restrictions (No_Elaboration_Code); pragma Ada_2012; pragma Style_Checks (Off); with HAL; with System; package STM32_SVD.RNG is pragma Preelaborate; --------------- -- Registers -- --------------- -- control register type C...
generic type Element_Type is private; package Generic_Queue is type T is limited private; procedure Enqueue( Queue: in out T; Element: in Element_Type ); procedure Dequeue( Queue: in out T; Element: out Element_Type ); procedure Peek ( Queue: in out T; Element: out Element_Type ); function Empt...
with Ada.Directories; use Ada.Directories; with Ada.Text_IO; use Ada.Text_IO; procedure Walk_Directory (Directory : in String := "."; Pattern : in String := "") -- empty pattern = all file names/subdirectory names is Search : Search_Type; Dir_Ent : Directory_Entry_Type; begin Start...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
with AdaM.Declaration.of_package; package AdaM.a_Package renames AdaM.Declaration.of_package;
-- { dg-excess-errors "no code generated" } package Varsize_Return2_Pkg is type T (D: Positive) is record Data: String (1 .. D); end record; function Len return Positive; generic I : Integer; package G is subtype Small_T is T(Len); function Get return Small_T; end G; end...
------------------------------------------------------------------------------ -- -- -- GNAT SYSTEM UTILITIES -- -- -- -- ...
package CLI.Widgets is end; -- I tried to make this a pure package, but it required me to also make the base -- CLI package pure...
-- -- Copyright (C) 2016 secunet Security Networks AG -- -- This program 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 2 of the License, or -- (at your option) any later version. -- -- This ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with ARM_Output, ARM_Contents, Ada.Text_IO; -- private with Ada.Strings.Unbounded; package ARM_HTML is -- -- Ada reference manual formatter (ARM_Form). -- -- This package defines the HTML output object. -- Output objects are responsible for implementing the details of -- a...
package Words is type String_Ptr is access String; type List is array (Positive range <>) of String_Ptr; function Score(S: String) return Natural; function Split(S: String; On: Character := ',') return List; procedure Free(L: in out List); end Words;
with Ada.Numerics.Discrete_Random, Ada.Assertions; with Libtcod.Maps.BSP, Libtcod.Color; package body Engines is use Ada.Assertions; use type Maps.X_Pos, Maps.Y_Pos; Max_Monsters_Per_Room : constant := 3; Max_Room_Size : constant := 12; Min_Room_Size : constant := 6; function get_actor(self : in o...
with Ada.Text_IO; with ship; with Planet; with Player; with Rule; procedure main is my_ship: ship.Ship_Data := ship.is_StarShip; my_homeworld : Planet.Object := Planet.Build ("Earth", 1, 3, 1); your_homeworld : Planet.Object := Planet.Build ("Moon", 1, 3, 1); player1 : Player.Object := Player.Build ("h...
with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Discr8_Pkg2; use Discr8_Pkg2; package Discr8_Pkg1 is type T is record A : Unbounded_String; B : L; end record; end Discr8_Pkg1;
with Ada.Unchecked_Conversion; package Tkmrpc.Response.Ike.Isa_Sign.Convert is function To_Response is new Ada.Unchecked_Conversion ( Source => Isa_Sign.Response_Type, Target => Response.Data_Type); function From_Response is new Ada.Unchecked_Conversion ( Source => Response.Data_Type, T...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Solar_System; use Solar_System; package My_Solar_System is -- declare variable Bodies which is an array of Body_Type Bodies : aliased Bodies_Array_T; end My_Solar_System;
------------------------------------------------------------------------------ -- -- -- Copyright (C) 2016, AdaCore -- -- -- -- ...
-- Based on James Munns' https://github.com/jamesmunns/bbqueue -- -- BBqueue implements lock free, one producer one consumer, BipBuffers. -- -- This unit only handles index offsets without having an internal buffer. -- It can be used to allocate slices of an existing array, e.g.: -- -- Buf : Storage_Array (8 .....
-- io.adb -- Plays with console IO. -- Note that Ada is case-INSENSITIVE. -- -- Simon Heath -- 19/7/2004 with Ada.Text_Io; use Ada.Text_Io; procedure Io is C : Character; S : String(1..32); begin Put_Line( "This reads information and then displays it." ); Put_Line( "Please type a character then 'enter'" )...
with ada.text_io, ada.Integer_text_IO, Ada.Text_IO.Text_Streams, Ada.Strings.Fixed, Interfaces.C; use ada.text_io, ada.Integer_text_IO, Ada.Strings, Ada.Strings.Fixed, Interfaces.C; procedure ocaml01 is type stringptr is access all char_array; function foo return Integer is begin for i in integer range 0..10 loop...
------------------------------------------------------------------------------ -- -- -- ASIS-for-GNAT IMPLEMENTATION COMPONENTS -- -- -- -- ...
with AAA.Strings; with CLIC.TTY; with Ada.Text_IO; private with GNAT.Strings; package Commands.Announce is package IO renames Ada.Text_IO; package TT renames CLIC.TTY; type Instance is new CLIC.Subcommand.Command with private; overriding function Name (Cmd : Instance) return CLIC.Subcommand....
------------------------------------------------------------------------------ -- -- -- GNAT RUN-TIME LIBRARY (GNARL) COMPONENTS -- -- -- -- ...
----------------------------------------------------------------------- -- AWA.Workspaces.Models -- AWA.Workspaces.Models ----------------------------------------------------------------------- -- File generated by ada-gen DO NOT MODIFY -- Template used: templates/model/package-spec.xhtml -- Ada Generator: https://...
with Ada.Text_IO; procedure tty_key is use type Ada.Text_IO.Count; C, D : Character; Avail : Boolean; Line_Length : Ada.Text_IO.Count := Ada.Text_IO.Line_Length; Start_Col, Current_Col : Ada.Text_IO.Count; begin Ada.Text_IO.New_Page; -- clear screen Ada.Text_IO.Put ("push any key:"); Ada.Text_IO.Get_Immediate (...
----------------------------------------------------------------------- -- awa-events-configs-reader_config -- Event configuration reader setup -- Copyright (C) 2012, 2013, 2017, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the ...
with STM32_SVD.GPIO; package STM32GD.GPIO.Port is pragma Preelaborate; function GPIO_Port_Representation (Port : STM32_SVD.GPIO.GPIO_Peripheral) return UInt4 with Inline; end STM32GD.GPIO.Port;
-- Copyright (c) 2017 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with League.Strings; with WebDriver.Drivers; package WebDriver.Remote is function Create (URL : League.Strings.Universal_Str...
pragma Ada_2005; pragma Style_Checks (Off); with Interfaces.C; use Interfaces.C; private package CUPS.stdint_h is INT8_MIN : constant := (-128); -- stdint.h:155 INT16_MIN : constant := (-32767-1); -- stdint.h:156 INT32_MIN : constant := (-2147483647-1); -- stdint.h:157 -- unsupported macro: INT64_...
--=========================================================================== -- -- This package defines the two 5x7 matrix elements used for the WORD -- sized display capability -- --=========================================================================== -- Copyright 2021 (C) Holger Rodriguez -- -- SPDX-Licens...
procedure Main is -- This procedure is using top-notch algorithms to calculate info. -- It will perform a complex calculation (out of this exercice scope), -- using data you provide, to update a state register. -- Your job is to declare the data and set it to the right value, at the -- right time. --...
with Common_Formal_Containers; use Common_Formal_Containers; package AFRL.CMASI.AutomationRequest.SPARK_Boundary with SPARK_Mode is pragma Annotate (GNATprove, Terminating, SPARK_Boundary); function Get_EntityList (Request : AutomationRequest) return Int64_Vect with Global => null; function Get_Op...
-------------------------------------------------------------------------------------------------------------------- -- Copyright (c) 2013-2020, 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 f...
----------------------------------------------------------------------- -- Print_User -- Example to find an object from the database -- Copyright (C) 2010, 2011, 2018 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- y...
------------------------------------------------------------------------------- -- -- -- Wee Noise Maker -- -- -- ...
-- $Header: /dc/uc/self/arcadia/ayacc/src/RCS/actions_file_body.a,v 1.2 1993/05/31 22:36:35 self Exp self $ -- $Header: /dc/uc/self/arcadia/ayacc/src/RCS/actions_file_body.a,v 1.2 1993/05/31 22:36:35 self Exp self $ -- Copyright (c) 1990 Regents of the University of California. -- All rights reserved. -- -- The p...
----------------------------------------------------------------------- -- keystore-io-refs -- IO stream reference holder -- Copyright (C) 2019, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use th...
-- 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...
----------------------------------------------------------------------- -- css-commands-list -- List command for CSS tools -- Copyright (C) 2018, 2020 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use t...
----------------------------------------------------------------------- -- mat-expressions-parser_io -- Input IO for Lex parser -- Copyright (C) 2014, 2015 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not ...
package kv.avm.Log is Verbose : Boolean := False; procedure Put(Str : String); procedure Put_Line(Str : String); procedure Log_If(Callback : access function return String); procedure Put_Error(Str : String); procedure New_Line(Count : Positive := 1); function Get_Last_Log_Line return String; ...
----------------------------------------------------------------------- -- files.tests -- Unit tests for files -- Copyright (C) 2011, 2012, 2013, 2014, 2017 Stephane Carrez -- Written by Stephane Carrez (Stephane.Carrez@gmail.com) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not...
-- { dg-do compile } private with Ada.Containers.Ordered_Maps; with Ada.Containers.Ordered_Sets; with Ada.Unchecked_Deallocation; package private_with is type String_Access is access String; package Index_Sets is new Ada.Containers.Ordered_Sets (Element_Type => Positive); procedure Free is new Ada.Un...
package My_Pack is function Get return Integer; function Get_Count return Integer; procedure Set (V : in Integer); end My_Pack;
with Ada.Finalization; use Ada.Finalization; package Lto6_Pkg is type F_String is new Controlled with record Data : access String; end record; Null_String : constant F_String := (Controlled with Data => null); end Lto6_Pkg;
generic package Symbolic_Expressions.Solving is -- ==================== -- -- == SYSTEM SOLVING == -- -- ==================== -- package Equation_Tables is new Ada.Containers.Indefinite_Ordered_Maps (Key_Type => Variable_Name, Element_Type => Symbolic_Expression); procedur...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with Ada.Characters.Latin_1; with SPARK.Text_IO; with Error_Reporter; with Tokens; package Scanners with SPARK_Mode is procedure Scan_Tokens (Source : String; Token_List : in out Tokens.List) with Global => (in_out => (Error_Reporter.State, SPARK.Text_IO.Standard_Error)), Pre => Source'First >= 1 and then...
------------------------------------------------------------------------------ -- Copyright (c) 2014, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
with ada.unchecked_Deallocation; package body openGL.Glyph.Container is --------- --- Forge -- function to_glyph_Container (parent_Face : in freetype.Face.view) return openGL.glyph.Container.item is Self : openGL.glyph.Container.item; begin Self.Face := parent_Face; Self.Er...
------------------------------------------------------------------------------ -- Copyright (c) 2014-2019, Natacha Porté -- -- -- -- Permission to use, copy, modify, and distribute this software for any -- -- p...
-- Copyright 2017-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 Exprs; use Exprs; use Exprs.Visitors; with L_Strings; use L_Strings; package Ast_Printers is -- Creates an unambiguous, if ugly, string representation of AST nodes. -- SPARK implementation follows Matthew Heaney -- http://www.adapower.com/index.php?Command=Class&ClassID=Patterns&CID=288 -- This is bec...
with any_Math.any_Arithmetic; package float_Math.Arithmetic is new float_Math.any_Arithmetic; pragma Pure (float_Math.Arithmetic);
------------------------------------------------------------------------------- -- Copyright 2021, The Trendy Terminal Developers (see AUTHORS file) -- 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 Lic...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
pragma License (Unrestricted); -- extended unit specialized for Windows with Ada.IO_Exceptions; private with Ada.Finalization; private with C.windef; package System.Program.Dynamic_Linking is -- Loading dynamic-link library. pragma Preelaborate; type Library is limited private; -- subtype Open_Library is ...
with Ada.Real_Time; use Ada.Real_Time; with Ada.Text_IO;use Ada.Text_IO; with Ada.Dispatching.EDF; use Ada.Dispatching.EDF; procedure Edf is Interval : Time_Span := Milliseconds(1000); Next : Time; begin Next := Clock; Set_Deadline(Clock+Interval); for Iter in 0 .. 50 loop Put(Integer'Image(Iter)); Put_Lin...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
separate (Numerics.Sparse_Matrices) procedure Transposed (Mat : in out Sparse_Matrix) is Tmp : Pos; begin Convert (Mat); case Mat.Format is when Triplet => null; when CSR => Mat.Format := CSC; when CSC => Mat.Format := CSR; end case; Tmp := Mat.N_Row; Mat.N_Row := ...
-- Copyright (c) 2019-2020 Maxim Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT -- License-Filename: LICENSE ------------------------------------------------------------- with Ada.Finalization; with Ada.Streams; with League.IRIs; with League.String_Vectors; with League.Strings; package Torrent.Met...
-- 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...
-- { dg-do compile } package CPP_Assignment is type T is tagged record Data : Integer := 0; end record; pragma Convention (CPP, T); Obj1 : T := (Data => 1); Obj2 : T'Class := Obj1; end;
-- { dg-do compile } procedure Entry_Queues3 is generic type Large_Range is range <>; package Queue is end; package body Queue is task T is entry E(Large_Range); end T ; task body T is begin accept E(Large_Range'First) do null; end e ; end T ; ...
with Text_IO; use Text_IO; procedure Call_CPP is procedure cpp_routine; pragma Import (C, cpp_routine); Error : exception; procedure Raise_And_Catch is begin Put ("in Ada: raise ... "); raise Error; exception when Error => Put_Line ("and catch!"); end Raise_And_Catch; ...
with Interfaces; use Interfaces; with Types; use Types; package Stack is Stack_Capacity : constant Natural := 16; subtype Stack_Range is Natural range 0 .. Stack_Capacity - 1; type Stack_Elements is array (Stack_Range) of Address; type Stack_Record is record Arr : Stack_Elements; Size :...
-- Institution: Technische Universitaet Muenchen -- Department: Realtime Computer Systems (RCS) -- Project: StratoX -- -- Authors: Martin Becker (becker@rcs.ei.tum.de> with HIL.Config; with HIL.Timers; with HIL.Devices.Timers; -- @summary -- Target-independent specification for simple HIL of Piezo Buzzer packag...
-- The Village of Vampire by YT, このソースコードはNYSLです with Tabula.Users; procedure Vampire.R3.User_Page ( Output : not null access Ada.Streams.Root_Stream_Type'Class; Form : in Forms.Root_Form_Type'Class; Template : in String; Summaries : in Tabula.Villages.Lists.Summary_Maps.Map; User_Id : in String; User_Password : ...
------------------------------------------------------------------------------- -- Package : Show_Version -- -- Description : Display current program version and build info. -- -- Author : Simon Rowe <simon@wiremoons.com> -- ...
-- A lexical scanner generated by aflex with text_io; use text_io; with vole_lex_dfa; use vole_lex_dfa; with vole_lex_io; use vole_lex_io; --# line 1 "vole_lex.l" --FLOAT_SEQUENCE {DIGIT_SEQUENCE}[.]{DIGIT_SEQUENCE}{EXPONENT}? --# line 12 "vole_lex.l" with Vole_Tokens; use Vole_Tokens; package kv.avm.Vole_Lex i...
------------------------------------------------------------------------------ -- AGAR CORE LIBRARY -- -- A G A R . O B J E C T -- -- S p e c -- ----...
with Ada.Tags; package Project_Processor.Parsers.Abstract_Parsers is type Abstract_Parser is interface; function Create (Params : not null access Plugins.Parameter_Maps.Map) return Abstract_Parser is abstract; procedure Parse (Parser : in out Abstract_Parser; Proje...
------------------------------------------------------------------------------ -- -- -- Matreshka Project -- -- -- -- ...
------------------------------------------------------------------------------ -- -- -- GNAT COMPILER COMPONENTS -- -- -- -- ...
with Asis.Ada_Environments; with Asis.Compilation_Units; with Asis.Exceptions; with Asis.Errors; with Asis.Implementation; with GNAT.Directory_Operations; with Asis_Adapter.Unit; with a_nodes_h.Support; package body Asis_Adapter.Context is procedure Set_Context (Asis_Context : in Asis.Context; A_Nodes ...
-- ----------------------------------------------------------------- -- -- -- -- This is free software; you can redistribute it and/or -- -- modify it under the terms of the GNU General Public -- -- License as published by the ...
with Memory.Wrapper; use Memory.Wrapper; package Memory.Split is type Split_Type is new Wrapper_Type with private; type Split_Pointer is access all Split_Type'Class; function Create_Split return Split_Pointer; function Random_Split(next : access Memory_Type'Class; genera...
with Ada.Containers.Functional_Vectors; with Ada.Containers.Functional_Sets; with Ada.Containers.Functional_Maps; with Ada.Strings.Unbounded; use Ada.Strings.Unbounded; with Interfaces; package Common with SPARK_Mode is type UInt32 is new Interfaces.Unsigned_32; type Int64 is new Integer; type R...
with Ada.Containers.Indefinite_Ordered_Maps; with Ada.Strings.Unbounded; with Ada.Exceptions; use Ada.Exceptions; with String_Ops; use String_Ops; with kv.avm.Log; use kv.avm.Log; package body kv.avm.Symbol_Tables is subtype String_Type is Ada.Strings.Unbounded.Unbounded_String; function "+"(S : String) retu...
------------------------------------------------------------------------------ -- EMAIL: <darkestkhan@gmail.com> -- -- License: ISC License (see COPYING file) -- -- -- -- ...
-- Taken from Ada Crash Course by Peter Chapin) -- Context clause specifies packages that will be used. -- `use` includes that package in the namespace with Ada.Text_IO; use Ada.Text_IO; with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; -- Our main function is "Prime" procedure Prime is -- Declare local ...
------------------------------------------------------------------------------ -- -- -- Ada User Repository Annex (AURA) -- -- ANNEXI-STRAYLINE Reference Implementation -- -- ...
with Ada.Text_IO; use Ada.Text_IO; procedure Test is type R is record Foo: access R; end record; begin New_Line; end;
-- SPDX-FileCopyrightText: 2021 Max Reznik <reznikmm@gmail.com> -- -- SPDX-License-Identifier: MIT ------------------------------------------------------------- package body Program.Interpretations.Expressions is procedure Step (Self : Iterator'Class; Cursor : in out Expressions.Cursor); -------...
package Pointer_Discr1_Pkg3 is type T_TYPE is (One, Two, Three); type T_DATA (D : T_TYPE); type T_DATA (D : T_TYPE) is null record; type T_WINDOW is access T_DATA; procedure Map (Window : in T_WINDOW); end Pointer_Discr1_Pkg3;
-- C95040D.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. -- Unlimite...
package PyGamer.Controls is procedure Scan; type Buttons is (A, B, Left, Right, Up, Down, Sel, Start); -- The Left, Right, Up, Down buttons are simulated from the position of the -- joystick. function Pressed (Button : Buttons) return Boolean; function Rising (Button : Buttons) return Boolean; ...
----------------------------------------------------------------------- -- awa-changelogs-modules -- Module changelogs -- Copyright (C) 2014 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 e...
with Text_IO; procedure Hello is begin Text_IO.Put("Hello"); end Hello;