Small C 3.0 with some cleanups and ANSI processing
authorAlan Cox <alan@linux.intel.com>
Wed, 22 Jun 2016 19:34:02 +0000 (20:34 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 22 Jun 2016 19:34:02 +0000 (20:34 +0100)
commita3c7602dac1719f6857fc72661217dbba9ed349b
tree7c54f1f453cfcc6c5ba5bc5a9072d48db3e46956
parent7b56e83c618ed3cdab4307ce2fc85667873ca75c
Small C 3.0 with some cleanups and ANSI processing

I've attached the 6809 code generator for the older compiler version as well.

We should be able to get a real C compiler in the space we have (CP/M manages it
for a passable ANSI C) but this will be fun for now and for debugging work.
62 files changed:
Applications/SmallC/8080/Makefile [new file with mode: 0644]
Applications/SmallC/8080/arglist.c [new file with mode: 0644]
Applications/SmallC/8080/bdos.c [new file with mode: 0644]
Applications/SmallC/8080/bdos1.c [new file with mode: 0644]
Applications/SmallC/8080/chio8080.c [new file with mode: 0644]
Applications/SmallC/8080/cret.asm [new file with mode: 0644]
Applications/SmallC/8080/crun.asm [new file with mode: 0644]
Applications/SmallC/8080/exit.c [new file with mode: 0644]
Applications/SmallC/8080/inout.c [new file with mode: 0644]
Applications/SmallC/8080/io8080.c [new file with mode: 0644]
Applications/SmallC/M_README [new file with mode: 0644]
Applications/SmallC/Makefile [new file with mode: 0644]
Applications/SmallC/README [new file with mode: 0644]
Applications/SmallC/README.2 [new file with mode: 0644]
Applications/SmallC/code6809.c [new file with mode: 0644]
Applications/SmallC/code8080.c [new file with mode: 0644]
Applications/SmallC/data.c [new file with mode: 0644]
Applications/SmallC/data.h [new file with mode: 0644]
Applications/SmallC/defs.h [new file with mode: 0644]
Applications/SmallC/error.c [new file with mode: 0644]
Applications/SmallC/expr.c [new file with mode: 0644]
Applications/SmallC/foo.c [new file with mode: 0644]
Applications/SmallC/function.c [new file with mode: 0644]
Applications/SmallC/gen.c [new file with mode: 0644]
Applications/SmallC/includes/ctype.h [new file with mode: 0644]
Applications/SmallC/includes/stdio.h [new file with mode: 0644]
Applications/SmallC/initials.c [new file with mode: 0644]
Applications/SmallC/io.c [new file with mode: 0644]
Applications/SmallC/lex.c [new file with mode: 0644]
Applications/SmallC/lib/abs.c [new file with mode: 0644]
Applications/SmallC/lib/atoi.c [new file with mode: 0644]
Applications/SmallC/lib/binary.c [new file with mode: 0644]
Applications/SmallC/lib/charclass.c [new file with mode: 0644]
Applications/SmallC/lib/fgets.c [new file with mode: 0644]
Applications/SmallC/lib/fputs.c [new file with mode: 0644]
Applications/SmallC/lib/getchar.c [new file with mode: 0644]
Applications/SmallC/lib/gets.c [new file with mode: 0644]
Applications/SmallC/lib/index.c [new file with mode: 0644]
Applications/SmallC/lib/itoa.c [new file with mode: 0644]
Applications/SmallC/lib/printn.c [new file with mode: 0644]
Applications/SmallC/lib/putchar.c [new file with mode: 0644]
Applications/SmallC/lib/puts.c [new file with mode: 0644]
Applications/SmallC/lib/rand.c [new file with mode: 0644]
Applications/SmallC/lib/reverse.c [new file with mode: 0644]
Applications/SmallC/lib/sbrk.c [new file with mode: 0644]
Applications/SmallC/lib/shell.c [new file with mode: 0644]
Applications/SmallC/lib/strcat.c [new file with mode: 0644]
Applications/SmallC/lib/strcmp.c [new file with mode: 0644]
Applications/SmallC/lib/strcpy.c [new file with mode: 0644]
Applications/SmallC/lib/strlen.c [new file with mode: 0644]
Applications/SmallC/lib/strncat.c [new file with mode: 0644]
Applications/SmallC/lib/strncmp.c [new file with mode: 0644]
Applications/SmallC/lib/strncpy.c [new file with mode: 0644]
Applications/SmallC/main.c [new file with mode: 0644]
Applications/SmallC/preproc.c [new file with mode: 0644]
Applications/SmallC/primary.c [new file with mode: 0644]
Applications/SmallC/prototype.h [new file with mode: 0644]
Applications/SmallC/readme.txt.old [new file with mode: 0644]
Applications/SmallC/stmt.c [new file with mode: 0644]
Applications/SmallC/struct.c [new file with mode: 0644]
Applications/SmallC/sym.c [new file with mode: 0644]
Applications/SmallC/while.c [new file with mode: 0644]