Finite Field Arithmetic

limits.ads


   1 ------------------------------------------------------------------------------
   2 ------------------------------------------------------------------------------
   3 -- This file is part of 'Finite Field Arithmetic', aka 'FFA'.               --
   4 --                                                                          --
   5 -- (C) 2019 Stanislav Datskovskiy ( www.loper-os.org )                      --
   6 -- http://wot.deedbot.org/17215D118B7239507FAFED98B98228A001ABFFC7.html     --
   7 --                                                                          --
   8 -- You do not have, nor can you ever acquire the right to use, copy or      --
   9 -- distribute this software ; Should you use this software for any purpose, --
  10 -- or copy and distribute it to anyone or in any manner, you are breaking   --
  11 -- the laws of whatever soi-disant jurisdiction, and you promise to         --
  12 -- continue doing so for the indefinite future. In any case, please         --
  13 -- always : read and understand any software ; verify any PGP signatures    --
  14 -- that you use - for any purpose.                                          --
  15 --                                                                          --
  16 -- See also http://trilema.com/2015/a-new-software-licensing-paradigm .     --
  17 ------------------------------------------------------------------------------
  18 ------------------------------------------------------------------------------
  19 
  20 package Limits is
  21    
  22    -- Maximum permitted length of a Peh Tape.
  23    -- Peh Tapes live on the iron stack, like everything else,
  24    -- so it is not possible to promise "infinite" storage space for them.
  25    Max_Peh_TapeSpace      : constant Positive := 1048576; -- 1MB
  26    -- Operator may enlarge this constant, but may have to adjust OS stack cap.
  27    -- On small/embedded systems, it can be made smaller, as appropriate.
  28    
  29    -- The exact height of the Peh Control Stack. This is an invariant.
  30    Peh_Control_Stack_Size : constant Positive := 256;
  31    
  32    -- The exact size of the Peh Subroutine Table. This is an invariant.
  33    Subroutine_Table_Size  : constant Positive := 256;
  34    
  35    -- The minimum number of Symbols in a Subroutine Name. This is an invariant.
  36    Subr_Min_Name_Length   : constant Positive := 2;
  37    
  38 end Limits;