#include "schemeitem.h"

#ifndef __PARSER_H__
#define __PARSER_H__

// Takes a list of tokens from a Scheme program, and returns a pointer to
// a parse tree representing that program.
scheme_item_t *parse(scheme_item_t *tokens);

// Prints the tree to the screen in a readable fashion.  It should look
// just like Scheme code; use parentheses to indicate subtrees.
void printTree(scheme_item_t *tree);

#endif // __PARSER_H__
