Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
23 lines (18 sloc) 400 Bytes
/**
* parse.h
* Lake Scheme
*
* Copyright 2011 Sami Samhuri
* MIT License
*
*/
#ifndef _LAKE_PARSE_H
#define _LAKE_PARSE_H
#include <stdlib.h>
#include "lake.h"
#define PARSE_EOF -1
#define PARSE_ERR -2
LakeVal *parse_expr(LakeCtx *ctx, char *s, size_t n);
LakeList *parse_exprs(LakeCtx *ctx, char *s, size_t n);
LakeList *parse_naked_list(LakeCtx *ctx, char *s, size_t n);
#endif