Skip to content

Instantly share code, notes, and snippets.

View sasagawa888's full-sized avatar

kenichi sasagawa sasagawa888

View GitHub Profile
@sasagawa888
sasagawa888 / poly.h
Created December 29, 2011 09:48
poly.h
/* Poly (simple Scheme interpreter)
written by kenichi sasagawa 2011/12
*/
#define CELLSIZE 1000000
#define HEAPSIZE 799999
#define CONTSTK 800000
#define PALASTK 900000
@sasagawa888
sasagawa888 / poly.c
Created December 29, 2011 09:47
poly.c
/* (simple Scheme interpreter)
written by kenichi sasagawa 2011/12start
*/
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.h>