jweinst1
12/22/2017 - 8:01 PM

small test object for functional language

small test object for functional language

#include <stdio.h>
#include <stdlib.h>

//test object for simple functional language

typedef enum
{
	WindType_None,
	WindType_Int,
	WindType_Char,
	WindType_List
} WindType;

typedef struct
{
	WindType type;
	long _int;
	char _char;
	struct WindObject* _lst; // nests one level down.
} WindObject;

int main(int argc, char const *argv[])
{
	/* code */
	return 0;
}