Dec 052017
 
C compiler generates Architecture Neutral Format output. Can interpret its' input and regenerate source. Sample back ends + source. Compiler is reentrant and can be called as a subroutine or a class, pgmr access to AST sym

Full Description of File


OXCC v1.432 Interpreting C compiler with
language extensions. Generates output in
Architecture Neutral Format (ANF). Sample
back end and byte code interpreter source
code supplied. Callable from command line
or as a reentrant subroutine. Can regenerate
source after interpreting input.


File OXCC1432.ZIP from The Programmer’s Corner in
Category Recently Uploaded Files
C compiler generates Architecture Neutral Format output. Can interpret its’ input and regenerate source. Sample back ends + source. Compiler is reentrant and can be called as a subroutine or a class, pgmr access to AST sym
File Name File Size Zip Size Zip Type
AOUT4LB.EXE 81307 41607 deflated
CFAR.CFF 51168 17280 deflated
CFDEL.CFF 35616 5787 deflated
CFIN.CFF 38496 9989 deflated
CFLS.CFF 58400 17342 deflated
CFRUN.EXE 102040 53085 deflated
CHANGES 3221 1446 deflated
DOC 0 0 stored
ANF.DOC 2547 1047 deflated
AOUT4LB.DOC 983 486 deflated
BTERP.DOC 400 255 deflated
C.GRM 16964 4631 deflated
CFAR.DOC 4380 1517 deflated
CFDEL.DOC 129 112 deflated
CFF.DOC 66527 17016 deflated
CFIN.DOC 778 403 deflated
CFLS.DOC 1991 782 deflated
LRG.DOC 4408 1991 deflated
OXCC.DOC 17759 6508 deflated
OXCCB.DOC 804 430 deflated
OXCCL.DOC 356 212 deflated
SKEL.DOC 1550 738 deflated
FILE_ID.DIZ 294 207 deflated
MAKE.BAT 230 63 deflated
OXBOW.A 360028 155483 deflated
OXLIB.CFF 1510560 549533 deflated
README 6201 2375 deflated
SRC 0 0 stored
AOUT4LB.C 18757 5642 deflated
BTERP.C 70090 13664 deflated
CFAR.C 25775 6877 deflated
CFDEL.C 2481 1025 deflated
CFF.H 24551 6388 deflated
CFIN.C 7058 2175 deflated
CFLS.4LB 15 15 stored
CFLS.C 74203 18511 deflated
CFLS.H 5782 2021 deflated
CFPORT.C 15003 4286 deflated
CFUTIL.MAK 574 210 deflated
CMALLOC.C 28075 7194 deflated
ECALL.S 1375 300 deflated
GO32.EXE 55580 31224 deflated
LRANDOM.C 2109 1093 deflated
OXANF.H 18664 5963 deflated
OXBYTES.H 7644 2631 deflated
OXCC.H 5358 1893 deflated
OXCCAI.C 119100 27731 deflated
OXCCAX.C 109431 24739 deflated
OXCCB.C 193328 38192 deflated
OXCCB.MAK 512 245 deflated
OXCCL.C 78392 18755 deflated
PARSER.C 43047 11963 deflated
TEST108.C 2681 876 deflated
TOXCC.C 3335 1242 deflated
TEST.BAT 912 311 deflated

Download File OXCC1432.ZIP Here

Contents of the README file


OXCC v1.432 Interpreting C compiler with
language extensions. Generates output in
Architecture Neutral Format (ANF). Sample
back end and byte code interpreter source
code supplied. Callable from command line
or as a reentrant subroutine. Can regenerate
source after interpreting input.

OXCC C Compiler
Version 1.432
July 29, 1995

Copyright (c) 1994, 1995 by Norman D. Culver
All Rights Reserved.


Send bug reports and suggestions to:
Oxbow Software
1323 S.E. 17th Street #662
Ft. Lauderdale, FL 33316
(305) 527-1663 Phone
(305) 760-7584 Fax
[email protected]


This software package is distributed as a preliminary version for
TESTING PURPOSES ONLY, WITHOUT ANY WARRANTY;
without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

This product includes software developed by the
University of California, Berkeley and its contributors.



INSTALLATION FOR DOS BASED MACHINES

c:
mkdir \oxbow
cd \oxbow
unzip -d oxcc1432// or pkunzip
make// runs the batch file make.bat

At this point you will have a number of .exe files in the oxbow
directory. You can add oxbow to the PATH variable in autoexec.bat
or you can move the .exe files to a preferred directory.
If you don't like the directory name `oxbow' you can pick another
name but you will have to enter an environment variable `OXPATH'
in the autoexec.bat file. e.g. SET OXPATH=mydir

WARNING!! The programs are currently compiled with DJCC version 1.10 which
uses the v1.10 DOS extender, go32.exe. You may not be able to run oxcc
in a DOS box under OS2 or Windows unless you have a lot of memory. It's
not that oxcc uses that much real memory, but it is built on top of a
framework which has a permanent memory object storage facility which saves
and restores objects to their exact original memory addresses. In doing
this it asks for memory ADDRESSES which are rather large. When running
under DPMI the dos extender is forced to commit memory even though
it will not be used. I will fix this problem at a later date.


WHAT IS OXCC AND WHY SHOULD YOU BE INTERESTED

OXCC is a multipass, interpreting C compiler with several language
extensions. It generates an Architecture Neutral Format (ANF) output
and comes with a couple of example back ends. Programmers are expected
to write additional back ends for their specific needs.

Language extensions have been inspired by GCC, MSC and Watcom C.
OXCC is designed to produce 16 bit, 32 bit, 64 bit, segmented and
flat model code for any target architecture and operating system.

OXCC can interpret its' input, it can also regenerate source code
after interpretation. Source regeneration properly handles `malloced'
data containing pointers. Slow mode interpretation keeps track of all
pointers, references and initializations, including hidden pointers.

OXCC is also callable as a subroutine or class from within the framework.
It can even be called by a program which is being compiled (see toxcc.c).
When called as a subroutine, the user can access all of the interesting
internal structures such as the Abstract Syntax Tree and the symbol table
at various stages of the multipass compilation.


CONTENTS OF THIS DISTRIBUTION

oxbow.a a.out archive -- djcc v1.10 compiled
oxlib.cff cff filesystem and archive (see cff.doc)
cfin.cff small archive for the program `cfin' (see cfin.doc)
cfar.cff small archive for the program `cfar' (see cfar.doc)
cfdel.cff small archive for the program `cfdel' (see cfdel.doc)
cfls.cff small archive for the program `cfls' (see cfls.doc)
aout4lb.exe symbol table whapper utility (see aout4lb.doc)
cfrun.exe skeleton framework and dynamic linker (see skel.doc)
oxcc.exe the compiler (see oxcc.doc)
oxccb.exe ANF to byte code back end (see oxccb.doc)
bterp.exe byte code interpreter (see bterp.doc)
oxccl.exe ANF linker (see oxccl.doc)
oxccai.exe ANF to Intel assembler code back end (incomplete)
cfar.exe archiver for .cff filesystems
cfin.exe file inputter for .cff filesystems
cfls.exe lister for .cff and DOS filesystems (derived from GNU)
cfdel.exe deleter for .cff filesytems
make.bat batch file to make some .exe files
test.bat batch file to test the compiler and byte code interpreter
changes notes about what changed between versions

doc/anf.doc documentation for ANF
doc/bterp.doc documentation for bterp
doc/oxcc.doc documentation for oxcc
doc/oxccb.doc documentation for oxccb
doc/oxccl.doc documentation for oxccl
doc/cfar.doc documentation for cfar
doc/cfin.doc documentation for cfin
doc/cfdel.doc documentation for cfdel
doc/cfls.doc documentation for cfls
doc/skel.doc documentation for cfrun
doc/aout4lb.doc documentation for aout4lb
doc/lrg.doc documentation for the parser table generator
doc/c.grm C grammar for oxcc

src/aout4lb.c
src/cfar.c
src/cfdel.c
src/cff.h
src/cfin.c
src/cfls.4lb
src/cfls.c
src/cfls.h
src/cfport.c
src/cmalloc.c
src/ecall.s
src/go32.exe
src/lrandom.c
src/oxanf.h
src/oxbytes.h
src/oxcc.h
src/oxccb.c
src/oxccl.c
src/oxccai.c
src/bterp.c
src/parser.c
src/oxccai.c
src/oxccax.c
src/toxcc.c
src/test108.c
src/oxccb.mak
src/cfutil.mak


QUICK TEST

After running `make.bat' you can run `test.bat' which exercises the
compiler `oxcc', the byte code backend `oxccb' and the byte code
interpreter `bterp'.



 December 5, 2017  Add comments

Leave a Reply