A simple parser for a subset of the POV-Ray scene description language.

The parser does not create any data structures for objects; the information about objects is assigned to local variables and printed. To create objects, add code to each object-parsing function. All code is written in C.

Makefile Makefile for UNIX (gcc compiler).
main.c
vecmath.h Several functions for operations on vectors and matrices; has to be extended to a more complete set.
vecmath.c
tokens.h Functions to conver input stream to tokens.
tokens.c
parse.h Main parsing functions.
parse.c
sample.pov A sample scene.
cluster.pov Another sample scene (reflection and refraction).