Skip to content

Instantly share code, notes, and snippets.

Here's a struct in C:

struct Point
{
  int x;
  int y;
} ;

Given a variable p0 which is typed as struct Point:

As some of you know, one of my projects is an implementation of Context Free Art in Scheme. It was a part of Abstracting and has been ported to Agave.

The only part of the task that I'd tackled was a core engine which would interpret low-level state machine instructions and a way to render the results of this interpretation. The Scheme versions of the CFDG programs were thus much longer; the flow control of the program was explicit, whereas most of this is implicit in the CFDG language.