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

dev/c/CInt-0.81.lha

Mirror:Random
Showing: m68k-amigaos iconppc-amigaos iconppc-morphos iconi386-aros iconi386-amithlon iconppc-warpup iconppc-powerup icongeneric icon
No screenshot available
Short:90% complete ANSI-C interpreter
Author:"Aaron "Optimizer" Digulla" digulla at fh-konstanz.de
Uploader:Aaron "Optimizer" Digulla <digulla fh-konstanz de>
Type:dev/c
Architecture:m68k-amigaos
Date:1995-06-03
Download:dev/c/CInt-0.81.lha - View contents
Readme:dev/c/CInt-0.81.readme
Downloads:743

This is version 0.81 of a ANSI-C interpreter written by me for
my master thesis. It has the following features:

    - Source is compiled into a BOOPSI-object which reacts on
	CIM_Execute
    - Supports ALL C operators
    - Supports all major C datatypes (int, double, char) plus some
	that are missing in C (bool and string) plus pointers,
	arrays, structs and unions.
    - All major control structures: if...else, while, do...while,
	for and return
    - User-defined functions (both compiled and interpreted)
    - Local Variables and infinite nesting

This is missing for the last 10%:

    - typedef
    - switch...case...default
    - break, continue and goto

Extensions to C:

    - bool and string datatype (with support for all C operators)
    - C++-Comments (//)
    - Memoryprotection
    - Checks Array-bounds, if possible (ie. int a=5; int b[a];
	b[5] = 0; yields an error, while int b[]; b[5] = 0;
	does not).
    - Supports "begin" and "end" for all those PASCAL-users :)
    - The constants TRUE and FALSE since there is no C-preprocessor
	yet.

Just check it out, some 20 demos are included and a sample-program
to run them.

System requirements:

    Should run on any 2.+ system (I compiled it under 3.1, so I don't
know :-)). No special CPU or FPU required (but fast is better, as usual).
Memory: well, some but 1Meg should be enough.

Installation:

    copy libs/cint.library libs:

If you want to compile the example, there is no need to copy the includes
over your include-files; the SCOPTIONS-file searches the files in this
directory.


Contents of dev/c/CInt-0.81.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO     CRC       STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                  591    1233  47.9% -lh5- fbf9 May 29  1995 cint-0.81.info
[generic]                 9388   14824  63.3% -lh5- 69d1 May 30  1995 cint-0.81/ci_test
[generic]                 2108    6494  32.5% -lh5- b740 May 29  1995 cint-0.81/ci_test.c
[generic]                  963    1743  55.2% -lh5- 24a5 May 31  1995 cint-0.81/CInt-0.81.readme
[generic]                 4173   10007  41.7% -lh5- c742 May 31  1995 cint-0.81/CInt.doc
[generic]                  225     434  51.8% -lh5- 76ff May 29  1995 cint-0.81/CInt.doc.info
[generic]                  594    1676  35.4% -lh5- c225 May 29  1995 cint-0.81/include/clib/cint_protos.h
[generic]                  358    1195  30.0% -lh5- 971d Feb  3  1995 cint-0.81/include/clib/inlib_protos.h
[generic]                  247     441  56.0% -lh5- 57fe May 28  1995 cint-0.81/include/fd/cint_lib.fd
[generic]                 2659    9444  28.2% -lh5- bdab May 31  1995 cint-0.81/include/in_stddef.h
[generic]                 1990    5689  35.0% -lh5- cdf0 May 28  1995 cint-0.81/include/interpreter/cint.h
[generic]                  404    1588  25.4% -lh5- 70e4 Feb  3  1995 cint-0.81/include/lists.h
[generic]                  344    1178  29.2% -lh5- e39a Feb  3  1995 cint-0.81/include/os/amiga.h
[generic]                  285    1040  27.4% -lh5- 9984 Feb  3  1995 cint-0.81/include/os/hpux.h
[generic]                  818    3521  23.2% -lh5- 1927 Feb  3  1995 cint-0.81/include/os/sun.h
[generic]                  242     744  32.5% -lh5- 88ce May 29  1995 cint-0.81/include/pragmas/cint.h
[generic]                  179     295  60.7% -lh5- d356 May 28  1995 cint-0.81/include/proto/cint.h
[generic]                  113     200  56.5% -lh5- ac25 Feb 19  1995 cint-0.81/include/return.h
[generic]                  305     966  31.6% -lh5- 25d2 Feb  3  1995 cint-0.81/include/tagbase.h
[generic]                 1545    4166  37.1% -lh5- e272 Feb  3  1995 cint-0.81/include/unix.h
[generic]                43910   81264  54.0% -lh5- 1a3f May 31  1995 cint-0.81/libs/cint.library
[generic]                  117     160  73.1% -lh5- b3dd May 31  1995 cint-0.81/SCOPTIONS
[generic]                   91     137  66.4% -lh5- c091 May 28  1995 cint-0.81/test/tarray.c
[generic]                  127     201  63.2% -lh5- bd5d May 28  1995 cint-0.81/test/tarray2.c
[generic]                  218     436  50.0% -lh5- cba1 May 28  1995 cint-0.81/test/tbool.c
[generic]                  240     832  28.8% -lh5- 97e6 May 28  1995 cint-0.81/test/tcast.c
[generic]                  136     545  25.0% -lh5- f200 May 28  1995 cint-0.81/test/tdouble.c
[generic]                   72     242  29.8% -lh5- 4f34 May 28  1995 cint-0.81/test/tdouble2.c
[generic]                  120     141  85.1% -lh5- d10b May 28  1995 cint-0.81/test/terror1.c
[generic]                   30      30 100.0% -lh0- bd22 May 28  1995 cint-0.81/test/tfloat.c
[generic]                  102     178  57.3% -lh5- 138b May 28  1995 cint-0.81/test/tfor.c
[generic]                  124     226  54.9% -lh5- 63d0 May 28  1995 cint-0.81/test/tfunc.c
[generic]                  104     158  65.8% -lh5- e562 May 28  1995 cint-0.81/test/tfunc2.c
[generic]                  120     196  61.2% -lh5- af20 May 28  1995 cint-0.81/test/tfunc3.c
[generic]                  149     257  58.0% -lh5- bc09 May 28  1995 cint-0.81/test/tfunc4.c
[generic]                   90     162  55.6% -lh5- 403d May 31  1995 cint-0.81/test/tglobal.c
[generic]                   87     184  47.3% -lh5- 6a21 May 28  1995 cint-0.81/test/tinc.c
[generic]                   55      56  98.2% -lh5- 7598 May 28  1995 cint-0.81/test/tinit.c
[generic]                  164     204  80.4% -lh5- c008 May 28  1995 cint-0.81/test/tlv.c
[generic]                  442    1965  22.5% -lh5- 40bf May 28  1995 cint-0.81/test/top.c
[generic]                  164     378  43.4% -lh5- c7e1 May 28  1995 cint-0.81/test/top2.c
[generic]                  153     280  54.6% -lh5- 2412 May 28  1995 cint-0.81/test/tptr.c
[generic]                   75      79  94.9% -lh5- 58fc May 28  1995 cint-0.81/test/trand.c
[generic]                  147     510  28.8% -lh5- 80b8 May 28  1995 cint-0.81/test/tsizeof.c
[generic]                   94     138  68.1% -lh5- 714d May 28  1995 cint-0.81/test/tstring.c
[generic]                  244     618  39.5% -lh5- 60ad May 28  1995 cint-0.81/test/tstruct.c
[generic]                  358     814  44.0% -lh5- 1c06 May 28  1995 cint-0.81/test/ttime.c
[generic]                   62     113  54.9% -lh5- 018e May 28  1995 cint-0.81/test/tunop.c
[generic]                   76      83  91.6% -lh5- 0e45 May 28  1995 cint-0.81/test/tuser.c
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        49 files   75402  157465  47.9%            Jun  3  1995
Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>