Dec 192017
 
Demo of QC, a C interpretor. Looks like it may be interesting.
File QCDEMO.ZIP from The Programmer’s Corner in
Category C Source Code
Demo of QC, a C interpretor. Looks like it may be interesting.
File Name File Size Zip Size Zip Type
FGREP.C 1378 599 deflated
QC.EXE 91756 46813 deflated
QCDEMO.HLP 24431 6611 deflated
README 3084 1170 deflated
STDLIB.QC 4891 1324 deflated
STRIP.C 236 187 deflated
USR.MAN 18187 4558 deflated
WC.C 346 195 deflated

Download File QCDEMO.ZIP Here

Contents of the README file


-----------------------------------------------------------------------
QC DEMONSTRATION -- February, 1986
-----------------------------------------------------------------------

This is the demo diskette for the QC interpreter. It contains a
demonstration version of QC with some programs you can test. The
programs are:

- fgrep.c, a pattern matching program
- wc.c, the K&R word counter
- strip.c, a program to strip the msb from the characters
in an ASCII file.

The shell run command allows argc, argv parameters and I/O redirection.
First you must load the program; then you run it with the run command.
For command line parameters:

qc>run p1, p2, ... pn

For I/O redirection:

qc>run < infile > outfile

The spaces after the < and > are optional.

You can have parameters and I/O redirection on the same command line.

-----------------------------------------------------------------------
fgrep.c
-----------------------------------------------------------------------

Fgrep searches one or more files for a pattern. It uses command line
parameters to get the pattern and the ambiguous file specification.

qc>load fgrep
qc>run you readme

This will show you all the lines in this readme file that have the word
"you". Run fgrep with no parameters for a list of the options.

-----------------------------------------------------------------------
wc.c
-----------------------------------------------------------------------

The wc program reads a text file from stdin and counts its characters,
words, and lines. The result is displayed to stdout.

qc>load wc
qc>run
-----------------------------------------------------------------------
strip.c
-----------------------------------------------------------------------

The strip program is handy for looking at a WordStar file on the PC
screen.

qc>load strip
qc>run
-or-

qc>run read.new

-----------------------------------------------------------------------
Be sure to use the F10 on-line function library reference manual. Press
F10 while you are in the shell, editing, or in the debugger's command
mode. The window tells you all the functions in the library. Move the
cursor to a function. (use the arrow keys, Home, and End.) Press Enter.
Another window displays an explanation of the function.

Use F1 whenever you want to know what is going on.
-----------------------------------------------------------------------
This diskette may be freely copied and distributed. If you order QC, be
sure to tell us that you bought the demo, so we will credit you with its
$10 cost.

To order: call Judy at (305)453-0257 with a MasterCard or VISA number,
or write to:

C SOFTWARE TOOLSET
2983 Newfound Harbor Drive
Merritt Island, FL 32952

QC costs $60 including UPS ground. We ship the day after we get the
order. Florida residents add 5% sales tax.



 December 19, 2017  Add comments

Leave a Reply