lake/primitive.h
Sami Samhuri ccab787366 improve parser, add numeric = primitive
- parse symbols such as "+" ,"-", and "1+"
- parse 'quoted expressions
2011-04-20 16:09:01 -07:00

20 lines
328 B
C

/**
* primitive.h
* Lake Scheme
*
* Copyright 2011 Sami Samhuri
* MIT License
*
*/
#ifndef _LAKE_PRIMITIVE_H
#define _LAKE_PRIMITIVE_H 1
#include "env.h"
#include "lake.h"
LakePrimitive *prim_make(char *name, int arity, lake_fn fn);
char *prim_repr(LakePrimitive *prim);
Env *primitive_bindings(void);
#endif