HOME
ABOUT GCS
INTERFACE
DESCRIPTION
EXAMPLES

GCS Note g0003
Full-C-Grammar Version

August 25, 2002
September 7, 2002 (last modified)

1. Purpose
The first version of GCS program was built upon an abridged C grammar, mainly to reduce my workload.
It was good enough for an illustration of the idea of GCS. But it was not of the kind upon which I would like to make further functions. I felt more firm foundation is needed.
So I made a newer version that accepts the full C grammar. I mean that the front end of the program that is called parser accepts and processes the full grammar, and only a part of these grammars gets executed at the back ends and yields the inteded results.
I can build the back ends later as I feel the necessity and the willingness.

I will also experiment here a new way of explaining source programs - to embed explanations in the source codes by way of the hyper links. This will enable more wider means of explanation than those allowed by the usual comment fields in the source programs. I was feeling that it is very difficult to read an account in plain text written by an another person who understands the program fully, and to understand the program fully. I believe the easier and surer way to understand a program is to read the source directly with on-the-spot explanations. So I am not going to explain my programs in the usual way, knowing no one will understand what those programs really are. Instead I will explain every part of the source program while the reader is looking at the souce code itself.
The explanations are sparse right now, but I will add them over the time.

2. Source Code Files
p073.c
draw.c
font.c
gcs1.c
gcs2.c
draw.h
gcs1.h
gcs2.h

3. Interface and Examples
Interface
Examples

4. List of Functions
The functions 0 to 45 are the same as those in the previous version of p068.
List of Functions

GCS NOTES