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
22 lines
No EOL
373 B
C
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 |