mirror of
https://github.com/samsonjs/lake.git
synced 2026-03-25 08:55:49 +00:00
- add booleans, dotted lists, functions - proper lexical scope - special forms: define, set!, and, or, quote, lambda - added some basic list manipulations - print functions and dotted lists - removed nil - more robust in general
21 lines
No EOL
271 B
C
21 lines
No EOL
271 B
C
/**
|
|
* parse.h
|
|
* Lake Scheme
|
|
*
|
|
* Copyright 2011 Sami Samhuri
|
|
* MIT License
|
|
*
|
|
*/
|
|
|
|
#ifndef _LAKE_PARSE_H
|
|
#define _LAKE_PARSE_H 1
|
|
|
|
#include <stdlib.h>
|
|
#include "lake.h"
|
|
|
|
#define PARSE_EOF -1
|
|
#define PARSE_ERR -2
|
|
|
|
LakeVal *parse_expr(char *s, size_t n);
|
|
|
|
#endif |