mirror of
https://github.com/samsonjs/lake.git
synced 2026-04-05 10:45:51 +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
22 lines
No EOL
337 B
C
22 lines
No EOL
337 B
C
/**
|
|
* fn.h
|
|
* Lake Scheme
|
|
*
|
|
* Copyright 2011 Sami Samhuri
|
|
* MIT License
|
|
*
|
|
*/
|
|
|
|
#ifndef _LAKE_FN_H
|
|
#define _LAKE_FN_H 1
|
|
|
|
#include <glib.h>
|
|
#include "env.h"
|
|
#include "lake.h"
|
|
|
|
LakeFn *fn_make(LakeList *params, LakeSym *varargs, LakeList *body, Env *closure);
|
|
char *fn_repr(LakeFn *fn);
|
|
|
|
/* TODO: function operations */
|
|
|
|
#endif |