AminetAminet
Search:
84450 packages online
About
Recent
Browse
Search
Upload
Setup
Services

dev/gg/bc-1.6.lha

Mirror:Random
Showing:ppc-amigaosgeneric
No screenshot available
Short:Arbitrary precision numeric processing language
Author:Phil Nelson, Ken Pizzini & Diego Casorran
Uploader:dcr8520 amiga org
Type:dev/gg
Version:1.6
Architecture:m68k-amigaos
Date:2002-09-15
Download:http://aminet.net/dev/gg/bc-1.6.lha - View contents
Readme:http://aminet.net/dev/gg/bc-1.6.readme
Downloads:5605

----------------------------------------------------------------------------

        This  package  comes  from      http://Amiga.SourceForge.net

----------------------------------------------------------------------------

bc  is  an  arbitrary  precision  numeric  processing  language.  Syntax is
similar  to  C,  but  differs  in  many  substantial  areas.   It  supports
interactive execution of statements.  bc is a utility included in the POSIX
P1003.2/D11 draft standard.

This  version was written to be a POSIX compliant bc processor with several
extensions  to  the  draft  standard.   Option flags are available to cause
warning  or  rejection  of the extensions to the POSIX standard.  For those
who  want  only  POSIX  bc  with  no  extensions, a grammar is provided for
exactly  the language described in the POSIX document.  The grammar (sbc.y)
comes  from  the  POSIX document.  The Makefile contains rules to make sbc.
(for Standard BC)

Since  the POSIX document does not specify how bc must be implemented, this
version  does  not use the historical method of having bc be a compiler for
the dc calculator.  This version has a single executable that both compiles
the  language and runs the a resulting "byte code".  The "byte code" is NOT
the dc language.

Also,  included  in the initial distribution is the library file vfprintf.c
for  MINIX systems.  My minix 1.5 did not have this file.  Also, you should
verify that vsprintf.c works correctly on your system.

The  extensions  add  some features I think are missing.  The major changes
and  additions  for  bc  are  (a)  names are allowed to be full identifiers
([a-z][a-z0-9_]*),  (b)  addition  of  the  &&,  ||,  and !  operators, (c)
allowing  comparison and boolean operations in any expression, (d) addition
of  an  else  clause  to  the  if statement, (e) addition of a new standard
function "read()" that reads a number from the standard input under program
control,  (f)  passing of arrays as parameters by variable, (g) addition of
the  "halt" statement that is an executable statement unlike the quit (i.e.
"if  (1 == 0) quit" will halt bc but "if (1 == 0) halt" will not halt bc.),
and  (h)  the  addition of the special variable "last" that is assigned the
value     of     each     print     as     the     number    is    printed.





········································
·····A·r·c·h·i·v·e··C·o·n·t·e·n·t·s··
LhA Freeware Version 2.2
Copyright © 1991-94 by Stefan Boberg.
Copyright © 1998-2000 by Jim Cooper and David Tritscher.

Listing of archive 'bc-1.6.lha':
Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
     120      99 17.5% 13-Sep-00 18:37:58  AUTHORS
   69412   36274 47.7% 25-Jun-02 06:30:42  bc
   35107   12020 65.7% 28-Sep-00 00:21:04  ChangeLog
   17992    7014 61.0% 16-Sep-99 19:44:58  COPYING
   26532    9651 63.6% 07-Jul-00 23:34:08  COPYING.LIB
   41076   22115 46.1% 25-Jun-02 06:35:58  dc
   34397   12267 64.3% 27-Sep-00 23:32:04 +bc.1
   37674   12689 66.3% 03-Oct-00 18:36:30 +bc.info
   38375   12848 66.5% 28-Sep-00 00:22:24 +bc.texi
   13075    4728 63.8% 07-Jul-00 23:34:08 +dc.1
   15365    5200 66.1% 03-Oct-00 18:36:30 +dc.info
   16786    5431 67.6% 31-Aug-00 15:57:42 +dc.texi
  200195   64386 67.8% 07-Jul-00 23:34:08 +texinfo.tex
     829     435 47.5% 07-Jul-00 23:34:08  FAQ
    1917     917 52.1% 12-Sep-00 17:22:46  NEWS
    3522    1736 50.7% 31-Aug-00 15:57:40  README
     330     198 40.0% 07-Jul-00 23:34:08 +ckbook.b
    1188     546 54.0% 07-Jul-00 23:34:08 +pi.b
     633     323 48.9% 07-Jul-00 23:34:08 +primes.b
     710     359 49.4% 07-Jul-00 23:34:08 +twins.b
     192     120 37.5% 07-Jul-00 23:34:10 +array.b
     371     159 57.1% 07-Jul-00 23:34:10 +arrayp.b
     205     111 45.8% 07-Jul-00 23:34:10 +aryprm.b
      70      57 18.5% 07-Jul-00 23:34:10 +atan.b
    1348     521 61.3% 07-Jul-00 23:34:10 +checklib.b
      82      72 12.1% 07-Jul-00 23:34:10 +div.b
      38      38  0.0% 07-Jul-00 23:34:10 +exp.b
     107      91 14.9% 07-Jul-00 23:34:10 +fact.b
     889     391 56.0% 07-Jul-00 23:34:10 +BUG.bc
      89      75 15.7% 07-Jul-00 23:34:10 +jn.b
      87      61 29.8% 07-Jul-00 23:34:10 +ln.b
     285      94 67.0% 07-Jul-00 23:34:10 +mul.b
     117      71 39.3% 07-Jul-00 23:34:10 +raise.b
    2529    1382 45.3% 07-Jul-00 23:34:10 +signum
     100      70 30.0% 07-Jul-00 23:34:10 +sine.b
     184      71 61.4% 07-Jul-00 23:34:10 +sqrt.b
     157     104 33.7% 07-Jul-00 23:34:10 +sqrt1.b
     179      78 56.4% 07-Jul-00 23:34:10 +sqrt2.b
    1011     503 50.2% 07-Jul-00 23:34:10 +testfn.b
     260     181 30.3% 07-Jul-00 23:34:10 +timetest
-------- ------- ----- --------- --------
  563535  213486 62.1% Operation successful.




_____________________________
.Readme created with:  MRea  \


Contents of dev/gg/bc-1.6.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                   99     120  82.5% -lh5- dca0 Sep 13  2000 authors
[generic]                36274   69412  52.3% -lh5- 69ae Jun 25  2002 bc
[generic]                12020   35107  34.2% -lh5- 30fc Sep 28  2000 ChangeLog
[generic]                 7014   17992  39.0% -lh5- 4902 Sep 16  1999 copying
[generic]                 9651   26532  36.4% -lh5- e3ce Jul  7  2000 copying.lib
[generic]                22115   41076  53.8% -lh5- 98d6 Jun 25  2002 dc
[generic]                12267   34397  35.7% -lh5- f60b Sep 27  2000 doc/bc.1
[generic]                12689   37674  33.7% -lh5- 84cc Oct  3  2000 doc/bc.info
[generic]                12848   38375  33.5% -lh5- bfe7 Sep 28  2000 doc/bc.texi
[generic]                 4728   13075  36.2% -lh5- 0dec Jul  7  2000 doc/dc.1
[generic]                 5200   15365  33.8% -lh5- a16f Oct  3  2000 doc/dc.info
[generic]                 5431   16786  32.4% -lh5- 093a Aug 31  2000 doc/dc.texi
[generic]                64386  200195  32.2% -lh5- 48af Jul  7  2000 doc/texinfo.tex
[generic]                  435     829  52.5% -lh5- cc48 Jul  7  2000 faq
[generic]                  917    1917  47.8% -lh5- 2cb6 Sep 12  2000 news
[generic]                 1736    3522  49.3% -lh5- bc11 Aug 31  2000 readme
[generic]                  198     330  60.0% -lh5- d324 Jul  7  2000 Examples/ckbook.b
[generic]                  546    1188  46.0% -lh5- da1c Jul  7  2000 Examples/pi.b
[generic]                  323     633  51.0% -lh5- 3367 Jul  7  2000 Examples/primes.b
[generic]                  359     710  50.6% -lh5- 885b Jul  7  2000 Examples/twins.b
[generic]                  120     192  62.5% -lh5- 1d93 Jul  7  2000 Test/array.b
[generic]                  159     371  42.9% -lh5- d1d9 Jul  7  2000 Test/arrayp.b
[generic]                  111     205  54.1% -lh5- 5146 Jul  7  2000 Test/aryprm.b
[generic]                   57      70  81.4% -lh5- 0570 Jul  7  2000 Test/atan.b
[generic]                  521    1348  38.6% -lh5- 2377 Jul  7  2000 Test/checklib.b
[generic]                   72      82  87.8% -lh5- ebc8 Jul  7  2000 Test/div.b
[generic]                   38      38 100.0% -lh0- 2f1e Jul  7  2000 Test/exp.b
[generic]                   91     107  85.0% -lh5- bb85 Jul  7  2000 Test/fact.b
[generic]                  391     889  44.0% -lh5- 280b Jul  7  2000 Test/BUG.bc
[generic]                   75      89  84.3% -lh5- baae Jul  7  2000 Test/jn.b
[generic]                   61      87  70.1% -lh5- 68da Jul  7  2000 Test/ln.b
[generic]                   94     285  33.0% -lh5- 6a78 Jul  7  2000 Test/mul.b
[generic]                   71     117  60.7% -lh5- c56c Jul  7  2000 Test/raise.b
[generic]                 1382    2529  54.6% -lh5- 75f8 Jul  7  2000 Test/signum
[generic]                   70     100  70.0% -lh5- 9d93 Jul  7  2000 Test/sine.b
[generic]                   71     184  38.6% -lh5- d675 Jul  7  2000 Test/sqrt.b
[generic]                  104     157  66.2% -lh5- 5253 Jul  7  2000 Test/sqrt1.b
[generic]                   78     179  43.6% -lh5- 825e Jul  7  2000 Test/sqrt2.b
[generic]                  503    1011  49.8% -lh5- cedd Jul  7  2000 Test/testfn.b
[generic]                  181     260  69.6% -lh5- 912d Jul  7  2000 Test/timetest
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        40 files  213486  563535  37.9%            Sep 15  2002

Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>