lake/sym.h
Sami Samhuri 54831a34fa added eval and apply, lambdas, other goodies
- 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
2011-04-20 01:38:53 -07:00

22 lines
No EOL
373 B
C

/**
* sym.h
* Lake Scheme
*
* Copyright 2011 Sami Samhuri
* MIT License
*
*/
#ifndef _LAKE_SYM_H
#define _LAKE_SYM_H 1
#include "lake.h"
LakeSym *sym_intern(char *s);
LakeStr *sym_to_str(LakeSym *sym);
LakeSym *sym_from_str(LakeStr *str);
char *sym_repr(LakeSym *sym);
unsigned long sym_val(LakeSym *sym);
LakeBool *sym_eq(LakeSym *a, LakeSym *b);
#endif