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
19 lines
No EOL
270 B
C
19 lines
No EOL
270 B
C
/**
|
|
* eval.h
|
|
* Lake Scheme
|
|
*
|
|
* Copyright 2011 Sami Samhuri
|
|
* MIT License
|
|
*
|
|
*/
|
|
|
|
#ifndef _LAKE_EVAL_H
|
|
#define _LAKE_EVAL_H 1
|
|
|
|
#include "env.h"
|
|
#include "lake.h"
|
|
|
|
LakeVal *eval(Env *env, LakeVal *expr);
|
|
LakeVal *apply(LakeVal *fnVal, LakeList *args);
|
|
|
|
#endif |